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

What are SetToProperty, SetRoProperty, GetToProperty scripting?

4 Answers  


In QTP how can we recognize objects Without using Object Repository?

3 Answers   IBM, Wipro,


How to face prjoect manager round what type of questions they will Ask ? (Chandana)

1 Answers   Call Centre, Convergys, IBM,


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

0 Answers  


If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test

4 Answers   TCS,






What r types of parametarizations?

6 Answers  


How to execute a WinRunner Script in QTP?

3 Answers   IBM,


How to export quicktest professional (qtp) results to an .xls file?

0 Answers  


can u Give Procedure to Handle Pop Window & write Code for that

2 Answers   CTS,


any body want to learn qtp with real time concept on Banking domain contact ciraaj@gmail.com

1 Answers  


Explain about the Test Fusion Report of QTP ?

1 Answers   Ordain Solutions,


wt is frame work wt r d different types of frame works used in ur company

1 Answers   Infotech,


Categories