Save label webelement value - shag - 04-26-2011
hi, am new on this, here's the issue,
there's a label that indicates the date and time, so i want to save this value on variable, but i dont know how, in QTP, the object repositoty shows the control as webelement, can anyone help me please.
RE: Save label webelement value - supputuri - 04-27-2011
Hi,
You can get "innertext" of the webelement.
Code: MyAppDate = Browser("AUTBrowser").Page("AUTPage").Webelement("Testingwebelement").GetROProperty ("innertext")
Msgbox MyAppDate
Please let me know if you need any more information.
|