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
What is sql loader? Explain the files used by sql loader to load file?
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
Explain about tristate constants in vbscript?
Mention what is select case statement?
what is the differance between BYVAL,BYREF?
what types of bugs will we find out in banking projects for automation testing?
What is the difference between for loop and while loop?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
How will you get a string with the specified character the specified number of times in vbscript?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
Mention what is the use of option explicit in vbscript?
What is the output of a + b in vbscript if a = 5 and b = 10?
Explain a few date functions in vbscript
Explain sga memory structures?