ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
when we enter url,one page should open.write a vb script
,that page is open or not
 Question Submitted By :: Uthaya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: when we enter url,one page should open.write a vb script ,that page is open or not
Answer
# 1
Browser is open with blank home page

Browser("version:=internet explorer 
6", "Title:=about:blank", "openurl:=about:blank").Navigate
("http://www.google.com/")
Dim a
a=Browser("version:=internet explorer 
6", "Title:=Google", "openurl:=about:blank", "name:=Google")
.Page("Title:=Google", "url:=http://www.google.co.in").Exist
if a="True" then
 msgbox " Page is open"
 else
  msg "Page is not open"
 
Is This Answer Correct ?    1 Yes 0 No
Leena
 
  Re: when we enter url,one page should open.write a vb script ,that page is open or not
Answer
# 2
SystemUtil.Run "C:\Program Files\Internet 
Explorer\iexplore.exe","","C:\Program Files\Internet 
Explorer","open"
Browser("title:=about:blank").Page("url:=about:blank").Sync
Browser
("title:=about:blank").Navigate "http://www.google.com/"

If Browser("title:=Google").Page("title:=Google").Exist then
	msgbox "Page Exists"
	else 
	msgbox "Page does not Exist"
	end if
 
Is This Answer Correct ?    1 Yes 1 No
Sri Satya
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.  5
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini  1
In what situations QTP will not recognize the Objects? Wipro4
How to handle dynamic objects in QTP? Infosys3
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?  2
Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?  3
What is the Diff between Image check-point and Bit map Check point? CTS12
what is main diff of qtp8.2 and qtp9.0? Covansys1
how to add run-time parameter to a datasheet? Ordain-Solutions1
why the smart identification is not there in WinRunner DigiTech1
What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...?? Virtusa1
the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp? BirlaSoft3
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?  1
How to make an Action as reusable?  1
I need to know how to Automate a Username and Password for a Web-based product? I'm scripting 3 different types of surveys but each Survey requires a Username and Password which is always the same. I can I do this using QTP?  3
how to create the varibles and how these are connect to qtp? plz tell me  2
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer Cimcon3
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please.......... AZTEC7
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance  2
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?  4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com