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...

I am testing a website TheLancet in qtp 9.2 and running a
script but its not working.Tell me if m doing anything wrong
in the script.
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
then
msgbox "object exist"
Else
msgbox"object doesnt exist"

Answer Posted / siva

If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
then
msgbox "object exist"
Else
msgbox"object doesnt exist"

Here Script having syntax error i.e there is no Endif statement.I am guessing this error.plz tell me is there any other.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the challenges you have faced while testing web based application using the automation tools ?

1126


write a script to verify the image path(src property) of the images which are in web pages.

2219


How to handle Java tree in QTP?

1322


What r the different filters in defect in quality center

3757


Give the syntax to load function at run time.

1132


How to run a test using quicktest professional (qtp)?

1137


Do you know how to connect database? Can you tell me the procedures?

985


What are the data types in qtp?

1105


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4578


How to test login module with different username and password by using data driven testing in QTP?

1139


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1847


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

2100


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

2081


QTP script is not working on other's machine..

1980


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1867