Any one knows about descriptive programming to identify
objects in a page?
Kindly drop me mail
prasanna.sabat@gmail.com
Answer Posted / ycy
BY DP
Dim obj_ChkDesc
Set obj_ChkDesc=Description.Create
obj_ChkDesc(?html tag?).value = ?INPUT?
obj_ChkDesc(?type?).value = ?checkbox?
Dim allCheckboxes, singleCheckBox
Set allCheckboxes = Browse(?Browser?).Page
(?Page?).ChildObjects(obj_ChkDesc)
For each singleCheckBox in allCheckboxes
singleCheckBox.Set ?ON?
Next
Go to help section in QTP and see for other objects like
webEdit, webtable, webelement.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Define virtual object?
How to use debug tools?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
What are advantages of test automation?
Explain how qtp identifies object?
can u explain relative path architecture framework in qtp?
How will you test a stapler?
What is the difference between byref and byval in qtp?
Explain about the quicktest professional (qtp) automation object model?
what is the difference between development and testing
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
what is the latest version of QTP? Main difference between 9.2 and 10 version
Can we record an application running on a remote machine using qtp?