Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
How can I use Childobjects in QTP for Identification of WebElements
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 When I write this code:
obj.GetROProperty("xsx").click ...Then will Error Message
My Problem is, that with this code I can identification 2 WebElements with these properties, but I need just ONE. Pls can you help me?
Thx
Profile Answers by petorstudent Questions by petorstudent
Questions by petorstudent
Related Answered Questions
Related Open Questions