hai all.iam chandu..please let me know how to test a link
in QTP when it is changing at run time..and what property
we should take while we r using descriptive programming for
a link..
Answer Posted / pravati
set obj=Description.create()
obj("micclass").value="Link"
set linkobj=Browser("micclass:=Browser").page("micclass:=page").childobjects(obj)
for i=0 to linkobj.count -1
x=linkobj(i).Getroproperty("name")
if trim(x)="forgotten password?" then
linkobj(i).click
exit for
end if
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
How are arrays declared in the vbscript language?
What are events in the vbscript language?
Anyone have qtp11.0 crack?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
How to write VB script for login module?
How to declare an array in vbscript?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
There are 5 web pages.write a script to click the button on 4th web page.
How to open browser in vb script?
Which in-built function is used to format the number in the vbscript language?
how to operate webobjects in a webpage using getobject function and then using generic methods?
how does vb script help in web page designing? explain with example.
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Explain the support of asp for vb script functionality?