Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem in reding the data from the User interfacce
#1
QM is not able to read the data from the UI

problem description:
1)first i will try to write a value in the edit field in the application usin g the follwing command
str szvalue = "Nithin"
Acc a1=acc(FRAME_STEP_SIZE FIELD_FRAME (win(NORTHWIND_TITLE "" "" 0x202)) WINDOW_CLASS "" 0x1001 0 0 "c14")
szvalue .setwintext(child(a1.a))

2)secondly i will try to read the data which i have written in the first step using the following code
str output
Acc a1=acc(FRAME_STEP_SIZE FIELD_FRAME (win(NORTHWIND_SYSTEM_TITLE "" "" 0x202)) WINDOW_CLASS "" 0x1001 0 0 "c14")
out output..getwintext(child(a1.a))

iam able to exceute these two codes individually with any issues.
but if i try to excute both the codes one after the other, i will not be able to read the data fron the UI
(Observation made are: when i try to write the data QM editor goes back and the application UI comes in front in the desktop hence while the second code gets executed i will not be able to read the data, also observed was when i bring the QM editor in front of the screen when the second code gets excuted.. i will be able to read the data)


Forum Jump:


Users browsing this thread: 1 Guest(s)