I have que. about text check point in context sensitive mode in winrunner. i have recorded text check point for text object. but the function obj_get_text does not retun text in the text box but it returns blank value("").so how to read the text?

Questions by nayana.k.patil

Showing Answers 1 - 7 of 7 Answers

Senthil Kumar P

  • Oct 4th, 2006
 

Hi

Try the same operation with screen area text checkpoint .

note :after you create the checkpoint with screen area text checkpoint the

the below statement should appear in the scrpit(suppose you captured the text "senthil".

obj_get_text("object name",text variable,time,x1,y1,x2,y2);#senthil

At the end of the statement you captured text should followed with #.

  Was this answer useful?  Yes

Prafulla_Rahatade

  • Mar 9th, 2007
 

Hi,
Sometimes even if you get the obj_get_text is written in your script then also winrunner does not ideantifies the selected text.. in that case you can use 'Font Expert' to learn that font then Winrunner can itentify that perticular font......

Sujatars

  • Aug 7th, 2007
 

If a specified text is  a read  only from the screen you can choose Create -> Get Text-> From Screen Area or click on Get Text from Screen Area button on the User toolbar to read the text

  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