How to get the value of a disabled edit box in QTP. What is the Winrunner" edit get info " equivalent function in QTP.

Showing Answers 1 - 4 of 4 Answers

mprashanthi

  • Feb 9th, 2007
 

"GetTOproperty"

  Was this answer useful?  Yes

mprashanthi

  • Feb 9th, 2007
 

We can get the value of a disabled edit box in QTP by using "insert output value option".i.e Make sure that the window containing the "disabled edit box" is available in the active screen.Then go to that "disabled edit box" right click on it and select the "insert output value" option",Output properties window will be opened the select the text property,click OK.Now run the test,u can see that value in the Run-time data table in the test results window.

  Was this answer useful?  Yes

Guest

  • Mar 24th, 2007
 

Dont use the TO property if ur trying to get the current value....use the RO property...even though it is disabled, the data could be changing at run time...

object.GetROProperty("value")

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions