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


What is wrong in my code?

Answers were Sorted based on User's Feedback



What is wrong in my code?..

Answer / pavani prasad

Hi Uma,

try the below one, hope it will work.
If Browser("opentitle:="&result,"application
version:=internet explorer 7").Exist Then
print "ok"
else
print "no browser"
End If
If Browser("opentitle:="&result,"application
version:=internet explorer 7").Page
("title:="&pge1,"height:=593","url:="&purl).Exist
Then
print "ok"
else
print "no page"
End If

Is This Answer Correct ?    1 Yes 0 No

What is wrong in my code?..

Answer / uma

Hi,
Below is my code,
If Browser("opentitle:="&result,"application
version:=internet explorer 7").Exist Then
print "ok"
else
print "no browser"
End If
If Page("title:="&pge1,"height:=593","url:="&purl).Exist
Then
print "ok"
else
print "no page"
End If

Here I am able to get the browser.
for the page,I am passing exactely same properties,
what I got it from Object,but it always printing no page.
[I am passing the title and url and i am directly giving
height value]
Any help?
Thanks
Uma

Is This Answer Correct ?    0 Yes 0 No

What is wrong in my code?..

Answer / pankaj

Hi ,
try this one i hope it should work
Browser("opentitle:=result","application
version:=internet explorer 7").Exist

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Explain the views in the QTP GUI?

0 Answers  


How do you convert manual test cases to automated test cases?

0 Answers  


HOw to add the recovery file at runtime to the test file .

0 Answers  


Explain building blocks of the bpt framework ?

0 Answers  


how much space occupies in object respository by default?

5 Answers   VSoft,


Give me the Example of standard check point and text check point with syntax?

3 Answers   IMI Soft, IMI Soft Engineering,


Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji

1 Answers  


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

0 Answers  


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


how can we compare descriptive programing with a regular expression

0 Answers  


What are the general steps involved in the data driven framework?

0 Answers  


How comfortable are you in VB scripting?

2 Answers  


Categories