Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Hi..friends can anybody write the script for this question...
Am having some 20 nos of links in a web application, i want
to click some 5,13 & 17th links. So please....can anybody
give the answer....???

-->Hani<--

Answers were Sorted based on User's Feedback



Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a w..

Answer / ashok kumar

Set obj_Link = Description.Create()
obj_Link("micclass").value = "Link"
Set it_Link =
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj_Link)
For i = 0 to it_Link.count-1 step 2

it_Link(i).Click 'it click +2,4,6....

Next

Is This Answer Correct ?    5 Yes 1 No

Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a w..

Answer / sss

thats ok
but we must use index other wise it will not work

Is This Answer Correct ?    1 Yes 0 No

Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a w..

Answer / srikanthdas

Set obj = Description.Create()
obj("micclass").value = "Link"
Set x =Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
for x= 1 to x.count
if x(i)=5 OR 13 OR 17 Then
x(i).Click
end if
Next

Is This Answer Correct ?    0 Yes 0 No

Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a w..

Answer / srikanth

Set obj = Description.Create()
obj("micclass").value = "Link"
Set x=
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
msgbox x.count
for i=0 to x.count-1
if x(i)= 5 OR 13 OR 17 Then
x(i).Click
end if
Next

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?

3 Answers  


QTP Testing Process?

1 Answers  


What the differences are and best practical application of each.

1 Answers  


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

0 Answers   TCS,


Qtp Automation Engineer , Can he login in VSS? What purpose he login In VSS? But Some companys are using CVS AND VSS ? some are Have log in in VSS Some Not login(not accessing) into VSS, not login persons are working on CVS? my doubt is, can Qtp automation engineer have loin in VSS or not? Where he store QTp Script?

3 Answers   CTC,


wt is memory leakage?

6 Answers   BSL,


Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.

3 Answers  


In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.

1 Answers  


How many types of Automation frameworks are there in UFT? Describe them.

0 Answers  


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

0 Answers  


WHAT IS PARAMITARIZATION?

8 Answers  


In where you are keeping or maintaining shared object repository (file)in your appliction?

2 Answers   Inlogic,


Categories