How to call Datable values in the QTP program.
exp: I have two parameters like Email id and Password
this two i would like to add multiple entries in the datable
to use it.
What is the difference between Gobal/Action datatable

Answer Posted / manish

For multiple iteration we can use global data sheet.

Getting the value :-

Browser(" ").page(" ").webedit("Emailid"). set
datatable.value("Email id",dtGlobalSheet)
Browser(" ").page("
").webedit("Password")datatable.value("Password",dtGlobalSheet)
Global Sheet And Action Sheet
GlobalSheet :- Global sheet we can use for every action and
by default it run for multiple iteration depends on the
value in the global sheet.

Action Sheet :- Action sheet is for perticular action and by
default it runs only one iteration but we can change it to
run for multiple iteration depends on the value in the
action sheet from the action property.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find a window is minimized or not

1439


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1385


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2970


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1569


What is the quicktest professional (qtp) testing process?

566






Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1405


How will you declare a variable in qtp?

550


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1743


How the exception handling can be done using quicktest professional (qtp)?

569


Is it possible to call win runner script in qtp?

623


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

1427


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1574


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2056


What is different command used in command Prompt while using QTP?

1747


Generic function to search for the unique link in webtable and click on it

2481