Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How we wil do data driven test using chkpts?
Plz. give me complete navigation steps for this?



How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?..

Answer / nath .t

Data Driven Test Means we can test application with
multiple test data. there are 3 types of ddt.

1. Dynamic Data Submission
2. Data Table
3. From Front Grids

1. Dynamic Data Submission: Here ur interaction is there
at the time of test execution. u follow below steps

un = inputbox("Enter the user name")

here un is variable to store the user name

u can give the variable where u want to insert

(i.e., window("login").winedit("user name").set un)


2. Data Table: We can send data from excel sheet here ur
interaction is not here.

u must take the value from data table. u follow below
navigation.

Navigation: Goto KeyWord View
where u want parameterize u Select Value column of that
object
press right corner of that select column it will shows
value properties dialog box here u can select Parameter
option and take Datatable option and select required
parameter.
(i.e., window("login").winedit("user name").set datatable
("username","dtGlobalSheet"))

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

How do u write script in qtp? where do u write?

2 Answers  


QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!

1 Answers  


What is active screen?

0 Answers  


how to write this script using descriptive programming? the script below is the script generated by QTP plz write the script using descriptive programming? plzzzzzzzz do answer thanku Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit("Email").Set "test123" Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit ("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4" Browser("Welcome: Mercury Tours").Page("orkut - login").WebButton("Sign in").Click Browser("Welcome: Mercury Tours").Page("orkut - home").Link ("Logout").Click Browser("Welcome: Mercury Tours").Page("orkut - login").Sync Browser("Welcome: Mercury Tours").Close

3 Answers  


who QTP recognizes the object stored in object repository?

0 Answers   Infosys, Mphasis,


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

0 Answers  


how to call multiple scripts in QTP at a time

3 Answers   IBM,


Can we add the objects of an application dynamically?

2 Answers   KEN Group, LD College,


what type of scripts are asked in qtp?

2 Answers  


tell me about regular expressions in QTP? where we use? give eample?

2 Answers   IBM,


Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?

1 Answers  


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

0 Answers  


Categories