How do we create and run the scripts with out using O.R. ?

Answers were Sorted based on User's Feedback



How do we create and run the scripts with out using O.R. ?..

Answer / rav

Using descriptive programming, you can define all the
objects in the script itself..you dont necessarily need to
use OR for that...

Is This Answer Correct ?    3 Yes 0 No

How do we create and run the scripts with out using O.R. ?..

Answer / king

dialog("regexpwndtitle:=login").winedit("attached
text:=Agent Name:").set "raju"
dialog("regexpwndtitle:=login").winedit("attached
text:=Password:").set "mercury"
dialog("regexpwndtitle:=login").winbutton
("regexpwndtitle:=ok").click
window("regexpwndtitle:=Flight Reservation").ActiveX
("acx_name:=MaskEdBox").Type "080808"
window("regexpwndtitle:=Flight Reservation").wincombobox
("attached text:=fly from:").Select "Denver"
window("regexpwndtitle:=Flight Reservation").wincombobox
("attached text:=fly to:").Select "London"
window("regexpwndtitle:=Flight Reservation").winbutton
("regexpwndtitle:=flight").click

Is This Answer Correct ?    3 Yes 1 No

How do we create and run the scripts with out using O.R. ?..

Answer / usha

Thank you for the answer. Can u please give me an example
so that I get a clear Idea ?

Is This Answer Correct ?    1 Yes 0 No

How do we create and run the scripts with out using O.R. ?..

Answer / rani

We can create and run the scripts without Object Repository,
Object Repository is nothing but collection of properties
and corresponding values. Each collection represents an
object.
Descriptive programming is a way of specifying properties
and values without using the OR interface.
Throwing the properties and values straight into the
command.

Ex:
Systemutil.Run"www.mail.yahoo.com"
Set a=Browser("name:=Yahoo!.*").page("title:=Yahoo!.*")
a.WebEdit("name:=login").Set "yourusername"
a.WebEdit("name:=passwd").Set "xxxx"
a.Webbutton("name:=Sign in").Click

You can try this code.It should work if you provide valid
username and password.
Let me know still if you are not clear on this.

Is This Answer Correct ?    0 Yes 0 No

How do we create and run the scripts with out using O.R. ?..

Answer / viswajith

Very nice Answer Rani.

Can u tell me that what is the recovery scenario?

Explain it in understandable format.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Brief the process of testing with UFT?

0 Answers  


how to choose the framework in qtp ? 2)when we go for the descriptive programming ?

2 Answers   Syntel,


if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?

2 Answers   Ordain Solutions,


can anyone tell me from where i can download qtp demo or crack version

0 Answers  


regular expression

2 Answers   Wipro,






Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.

3 Answers  


how can i change the action path that called in other action. when i copy one action to other pc,the action"test2" calls another action(C:\test1\action0),and i update this"test1",the folder update to "action1",but when i open "test2", it just point the call path to "C:\test1 \action0", but does not update to "action1",and the change i make can be shown in test2. so, can i update the call path manully? thanks

2 Answers   HP,


how to write regular expression for Date field?

12 Answers   Google,


What is test fusion report?

2 Answers   CIL,


How many ways we can parameterize data in quicktest professional (qtp)?

0 Answers  


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?

2 Answers   Patni,


Categories