what is the Command used to start the QTp from Run.(start->
Run)
Answers were Sorted based on User's Feedback
Answer / tvsramakrishnachowdary
pls check ur question once again..
we can start the qtp externally by AOM concept only...thru
vbscript file
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rameshmvc
sorry i dono answer for this question
...it may wrong surya...
pls check again..
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nar
Hello Srikanth,
Do u have any idea of which location will be shown in dos
prompt according to ur desc? Don't post incorrect answers
which could give wrong info.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kishan
It always depends on which you have installed QTP. For eg in
my machine, the path of QTPro.exe file is as below
F:\Program Files\Mercury Interactive\QuickTest Professional\bin
so when I type the below text in Run Prompt it will open my QTP
F:\Program Files\Mercury Interactive\QuickTest
Professional\bin\QTPro.exe
If you are working in cmd prompt then you have to browse to
the path(F:\Program Files\Mercury Interactive\QuickTest
Professional\bin) using "cd" command
> cd F:\Program Files\Mercury Interactive\QuickTest
Professional\bin
>QTPro.exe
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreekanth
Start-->RUN-->Give "cmd" & Press enter --> in dos prompt
give QTPro.exe & press enter...
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / madhumitha madhualag@gamil.com
use "QTPro" in the run of start button
any comments always welcome
Is This Answer Correct ? | 0 Yes | 3 No |
what is descriptive programming in QTP? How can be done?
Can u call winRunner scripts from QTP?
Tell me the QTP Advantages and Disadvatages ?
How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.
How to Test the mainframe application?(tell me few basic things)
Can we write class for vb script in Quick Test Professional?
What is Distributed testing? How does UFT support it?
I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.
Explain the concept of object repository & how QTP recognises objects?
What is log file?How to write log file code?
2 Answers Apps Lab, Value Labs,
How to Test the mainframe application?
How do you script a nested loop in QTP? I am showing a snipet of my code. Any suggestions to help me get this to work would be great appreciated! STEP A - Customer Number: No loop - ISBN: Loop STEP B - Customer Number: Loop - ISBN: Nested Loop Here is the code I am using now. I am using i for the loop and j for the nested loop in STEP B of my script. =========================================== 'CREATE AN ADDITIONAL CUSTOMER Dim myNum, RowNum, RowCnt2, val2, total, i DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" RowCnt2 = DataTable.GetRowCount i = 1 DataTable.SetCurrentRow(i) ' Set row to one Do while Not i > RowCnt2 i=i+1 DataTable.SetNextRow MsgBox Datatable.Value("Customer_Num") Msgbox i Msgbox RowCnt2 If Not i > RowCnt2 then val2=datatable.Value("Customer_Num","Global") OracleFormWindow("Sales Order").SelectMenu "File->New" OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").Enter val2 End If 'CREATE SECOND ISBN LIST DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" Dim j, RowCnt3, val3 RowCnt3 = DataTable.GetRowCount For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) ' datatable.getSheet("DataTable").setNextRow If Trim(DataTable("ISBN",dtGlobalSheet)) = "" Then j = j - 1 Exit For End If Next 'Define ISBN rows If RowCnt3 <> j Then RowCnt3 = j End If 'Loop through ISBN rows For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) val3 = Datatable.Value("ISBN","Global") msgbox j If j = 1 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").Enter val3 else If j < 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).Enter val3 else If RowCnt1 => 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").InvokeSoftkey "DOWN" OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").Enter val3 end if end if End If Next 'EXIT APP msgbox i loop Browser("Browser").Page("Oracle Applications 11i").Sync Browser("Browser").Close ========================================== It isn't working correctly in my nested loop in STEP B (for ISBN). Any ideas?? Thanks! SBsteve