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                      
tip   To Refer this Site to Your Friends   Click Here
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
take one exmple and write on that discriptive programe in 
qtp?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: take one exmple and write on that discriptive programe in qtp?
Answer
# 1
systemutil.Run("http://www.rediffmail.com")

set BRO =Description.Create()
BRO("title").Value = "Welcome to Rediff.com India"
BRO("name").value ="Welcome to Rediff.com India"
BRO("openedbytestingtool").value= true


Set PG =Description.Create()
PG("title").value="Welcome to Rediff.com India"
PG("url").value="http://www.rediff.com/index.html"

Set UN =Description.Create()
UN("name").value= "login"
UN("Class Name").value ="WebEdit"
UN("type").value= "text"
UN("html tag").value="INPUT"

Set PWD =Description.Create()
PWD("name").value ="passwd"
PWD("Class Name").value="WebEdit"
PWD("type").value="password"
PWD("html tag").value="INPUT"

Set Login =Description.Create()
Login("name").value ="Go"
Login("Class Name").value="WebButton"
Login("type").value="submit"
Login("html tag").value="INPUT"
Login("value").value="GO"
Login("class").value="rmailgobtn"

temp= Browser("Welcome to Rediff.com").Page("Welcome to 
Rediff.com").WebElement("ShockwaveFlash1").Exist
If temp= true Then
    'Browser("Welcome to Rediff.com").Page("Welcome to 
Rediff.com").WebElement("ShockwaveFlash1").
End If


Browser(BRO).Page(PG).WebEdit(UN).Set "shyam_sad" 
Browser(BRO).Page(PG).WebEdit(PWD).Set "7134999" 
Browser(BRO).Page(PG).WebButton(Login).Click
 
Is This Answer Correct ?    1 Yes 0 No
Shyam.meghansh
[Hydus Technologies (INIDA) Pvt Ltd]
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hai anyone please "Explain about Framework in QTP?"  5
What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance. Polaris9
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do Covansys5
How do you return a value for an array.  1
What is the difference between QTP 8.2 and QTP 9.2 ? Infotech4
How to call a function in QTP?  3
What is the extension for Recovery scenario?  2
What do you do if QTP doesn't recognize object ,what action should be taken Lehman-Brothers9
How do you connect to database ,What is the script to connect DATA BASE? Nokia2
can we create recorset with out using database connection in vbscript? CSS1
1. How to capture data from images in QTP and produce them in Excel sheet ? 2. What is Terminal Emulator add-in installation and configuration procedure ? 3. Tell me how do u define action and transaction in QTP ? 4. Is QTP case sensitive ? 5. Problem with XML checkpoint ? 6. When was QTP 8.2 and Loadrunner 8.0 officially released to the market ? 7. Can we record on netscape browser does it require any special settings ? 8. How do I add new object to the object repository to any particular frame ? 9. Do we have rapid test scrpit wizard in QTP ? How to learn all the windows and objects in QTP 10. How to open Exceel sheet using QTP script ? 11. Is it necessary to learn VB script to work with QTP or we can manage with keword driven ? 12. What is descriptive programming in QTP ? 13. How to invoke the QTP from dos prompt and run a test without any interaction with human ? 14. What is the meaning of Context sensitive ? 15. How to retrive the property values from "Resource.mtr" after recording the script with "Standard checkpoints" ? 16. Where should we use accessbility checkpoints. Can u explain me with the example ? 17. How do we add object repository dynamically ? (During runtime) 18. How to record right click of a context menu and click on the selection ? 19. How to connect oracle database to QTP ? 20. How will you load few objects in Active Screen ? 21. Can I compare two DataBases using QTP ? 22. If the the two object have same class then how QTP will find the object ? 23. Can I change the runtime properties of an object ? How can I check if a parameter exists in database ? 24. What is the script for database check point, bitmapchek point, regular expression ? 25. What is QTP environmental variable ?  1
what is aregular expression? UHG4
What is the dis advantage of check points in QTP, if any? BirlaSoft3
how to get the object property Covansys4
Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.  4
we have 10 automation scripts. how to call them from one main script.  2
What is keyword view and Expert view in QTP? Ordain-Solutions5
Hi What are re-usable actions in QTP? -Thank You Siemens3
Give me an example where you have used a COM interface in your QTP project?  1
can we call a test in another test? how? explain with one example? iFocus1
 
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