Use replay type as mouse,it will solve Ur problem
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
--
hi
this is madhavi am learning qtp i have one problem.while testing naukri page useing internet explorer.while adding the all objects using OR.but qtp anable recognize that object it identifies only internet explorerserver what is the problem can any body tellme.
--
Hi all, I have some scripts that wrote in win XP to test some app that was written in wpf.
Right after recorded, it showed all line in win xp:
WpfWindow("winName").Move 769,486
WpfWindow("winName").Click 183,104
but in win 7, I couldn't record it and also the existing code run that showed run error
"Object reference not set to an instance of an object. Function file:......"
Notes: I have add in wpf license
Please advice! many thanks
|
| All, I got to cross verify if value matches but in the range.. could you help below ex: I search empID as 1000 >> but results might come as employees from 900 to 1100 or sometimes blank.. I got to cross verify that, but I think instr not works here.. any other alternative ?? a = 1000 (input value) b = anywhere from blank to 1100 |
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
Hi
This is madhavi.already i checked all addins are properly checked.i used object spy but it recognize only internet explorer server only.am using qtp 10 trail version.
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
| sorry it was confusing.. here the example code: if instr(1,UserInputData,RealtimeData) then msgbox "Yes input data exist in realtime data range" but the problem is "RealtimeData" has a range and the test is whether or not "UserInputData" falls within the range lets say if UserInputData = 21, RealtimeData range 10 to 100..-- the test case pass as its within range but if RealtimeData is 1 to 10 , then test case fail Pls help Thx --- On Tue, 4/24/12, Deepak Kumar Mahapatro <deepakkumar...@gmail.com> wrote: |
Hi,
Is this RealtimeData a string? like "10 to 100"? If that is a case then Instr will not work. One way to accomplish this is to find out the upper bound and lower bound first. and then compare with the value.
Eg -
RealtimeData = "100 to 1000"
arrTemp = Split(RealtimeData, " to " )
iLwrBound = CInt(arrTemp(0))
iUprBound = CInt(arrTemp(1))
If UserInputData >= iLwrBound and UserInputData <= iUprBound Then
msgbox "value in range"
Else
msgbox "value not in range"
End If
--
--