Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

take one exmple and write on that discriptive programe in

take one exmple and write on that discriptive programe in qtp?..

Answer / shyam.meghansh


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

Set PG =Description.Create()
PG("title").value="Welcome to India"

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("html tag").value="INPUT"

Set Login =Description.Create()
Login("name").value ="Go"
Login("Class Name").value="WebButton"
Login("html tag").value="INPUT"

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

Browser(BRO).Page(PG).WebEdit(UN).Set "shyam_sad"
Browser(BRO).Page(PG).WebEdit(PWD).Set "7134999"

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

What are parameterizing tests?

0 Answers  

Explain types of exception handling and script for that?

2 Answers  

Why you are Using Descriptive programming instead of Object Repository?

11 Answers  

Syntax for how to call one script from another and Syntax to call one "Action" in another?

1 Answers   Crea,

Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  

What type of problems one will face with QTP , if too many browsers are opened at a time?

2 Answers  

Whether qtp 9.0 supports Test director8.0

0 Answers   TCS,

suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query

1 Answers   IBM,

What are the types of environment variables in qtp?

0 Answers  

In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known

6 Answers   iGate,

How can i select multiple items from a WebList bOX USING QTP

3 Answers   DuPont, Syntel,

I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

0 Answers   Cap Gemini, TCS,