If an application name is changes frequently i.e while
recording it has name "Window1" and then while running
its "Windows2" in this case how does QTP handles?
If an application name is changes frequently i.e while
recording it has name "Window1" and then while running
its "Windows2" in this case how does QTP handles?
after initiating one project for testing, when exacltly QTP tester role starts?
81
Can any one say what exact diff between test->parameters,
action properties-> parameters.
after defining the parameters in test->settings, how can we
access those parameters.(i know how to use action prop
parameters)
208
How to execute the WR Script through QTP?
I have WinRunner script with initialization script, common
scripts, GUI AND functions. I connected WR through QTP
with "call to WinRunner" option but I am getting problem
after connecting to WinRunner i.e. showing "Do you want to
quit now" with 'yes' and 'No' message box
Hi,
I want to learn DataBase Testing.
So please some document or path so that i can get some
material on DataBase Testing concepts (preferably SQL
Server 2000).
Thanks in advance,
Guru
949
hi i have completed my b.tech in cse stream. now i am
working in an organisation in testing department. i want do
sap course but i dnt know which module will boost my career
can anyone suggest me which is good for my career
170
how to convert 100 into hundred repees only and viceversa
152
If the weblist is identified as webelement,and by clicking on
webelement if the values are displayed,and if the values the
values also identified as webelement.then how to fetch the
values through script?
102
please post the interview questions for QA position in FACTSET
How to map testcases with requirements in test lab?
327
Hi Friends, Im planning to do certifcation in mercury
Automation Tool QTP.But I Didnt get any clear details
regarding course syllabus, fees, where to approach, and
which certification would be useful for the experienced
testers? can any one send me the details?
170
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
2034
can anyone tell me from where i can download qtp demo or
crack version