How to get Links count in an web application,without
descriptive programming?
Answer Posted / kalyan
'Hi, we can use "innertext" as a unique property of link.
'Name may be changes in the runtime. And we can use the
index number to identify the link in the execution.
(NOTE:-We dont use index to retrive the child objects.why
because each child object have different index number.)
TRY THIS CODE:--------THIS WIL WORK FINE.
set olink=description.create()
oDesc("micclass").Value = "Link"
set chobj=browser().page().childobjects(olink)
n=chobj.count
msgbox n
for i=0 to n-1
val1=chobj(i).getroproperty("innertext")
msgbox val1
Next
Any doubts----mail to------ mskalyan.smile@gmail.com
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the steps involved in recovery scenario wizard?
Your roles and responsibilities and daily tasks? (As automation tester)
What is the difference between shared and local object repository?
Describe the differences between functions and actions in UFT?
Where can I find and view run-time data table?
Explain the concept of how quicktest professional identifies object?
Is it possible to split an action? How?
Explain the features of quick test pro(qtp)?
Mention the test steps of qtp.
What is the descriptive programming?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
What are the key points to create a framework in QTP for oracle forms?
What are the ways you can synchronize?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....