How can I use childobjects in QTP for identification of webelements
I wrote this code: set odesc = description.Create() odesc.Value("class name")="webelement" odesc.Value("innertext")= job job is name of parameter with string value-user defined params. ex.Job = "officemanager". set obj =browser().Page().Childobjects(odesc) set obj_number = obj.Count but...
Answered by: Brahma Sagar Gunda
View all answers by Brahma Sagar Gunda
Member Since May-2006 | Answered On : May 5th, 2006
The following list the Operating Systems that QTP supports, please refer: - Windows 2000-Service Pack 3 or Service Pack 4 - Windows XP-Service Pack 1 or Service Pack 2, - Windows 2003 Server. Note: QuickTest Professional is supported on Windows XP Service Pack 2 only if the execution prevention mechanism (also known as DEP-data execution prevention and NX-no execution) is not activated I believe this answers your questions and will thereby close this service request. Should you require further clarifications, please do not hesistate to let me know. Thanks. Regards, Brahma Sagar
Hi Vish,
Kindly install microsoft script debugger and then restart the QTP.
Regards,
Gaurav
Yes it true that QTP works on Windows OS only but it works fine on browsers others than IE as well(Mozilla Firefox is supported)
Hi, The one and simple way to resolve your issue is to use Descriptive Programing, please go through Descriptive programing in the Documentation and you will come to know...I have worked only with Web...
How to run only one action when more than one action exist in the test.
Select the particular action and click on the position form where you want to run the script. Then Right Click and select "Run From Step".
Select the action, which you wanna run from the Action list in the Action Tool bar and then select the first line of the script, right click and select RunfromStep command....... Some one posted like to execute the command RunFromAction but the command doesn't exist.
Thanks,
Brahma sagar
Set obj =Browser().Page().Childobjects(odesc) Set obj_number = obj.count this count represents the number of objects that are satisfying the description that you have made using description.create()....