Get Text (From Selection)
How do I get different text from the same web page using Get Text -> From Selection option?
On Login screen I give different login name and accordingly message is displayed on the screen. I can capture diferent messages using Get Text -> From Selection option in Specify Text box. But when I select OK button it always paste first captured text in the Test file. e.g. web_obj_get_text("text from web page...""#1",text,"\*","\.",1);
Re: Get Text (From Selection)
It sounds like you are on the right path. First - Please make sure you have launched the browser after launching winrunner - or have winrunner launch the browser.
When you do the "Get Text From Selection (web only) and when the "Specify Text" window pops up - check your left and right boundaries. You can click on the help button on this popup window to get more detail about using the function.
You may have to make sure that your objects are unique in the gui map.
"Give a person a fish and he or she will eat for a day. Teach a person to fish and she or he will eat for the rest of his or her life."