if the reply type is event or 1 then at run time the mouse doesn't
move the operation is carried out directly through the browser event
but if that is mouse or 2 then mouse goes to that object and perform
the task.
for e.g. if the operation is on webedit, then for replaytype 1 it
directly set the text but for replaytype 2, mouse pointer goes to
that editbox and we can observe the cursor movement while the text is
entered.
similarly for webbutton, the button is clicked irrespective of the
position of mouse pointer for replaytype 1 and for replaytype 2, we
can observe that the mouse pointer goes to the button and button is
clicked by the mouse.
i know this much only. if u get some more information then please post it here.
thanks
> --
> 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
>
--
Regards,
Deepak
On 3/29/12, Ujvala QTP <ujva...@gmail.com> wrote:
Hi,Code:'***********************************************************************************************************************Browser("name:=xyz").webelement("outerhtml:=abc","innertext:=efg","index:=0").highlight
Setting.WebPackage("ReplayType") = 2
Browser("name:=xyz").webelement("outerhtml:=abc","innertext:=efg","index:=0").Click
Setting.WebPackage("ReplayType") = 1'***********************************************************************************************************************Above is the code i used to perform the click action on the object.The first line of the code is executing with default replay type(i.e.,1) where i can able to highlight the object, when i proceed without changing the replay type the action is not performed in that object.Work Around:After changing the replay type from 1 to 2 i can able to perform the action in that specific object.Problem facing after the workaround:The execution varies with machine to machine where in one machine the code is running succesfully.in some machine code side gettng struck.highlighted the line which i can't perform using replay type=1.
On Tuesday, October 30, 2012 12:58:12 PM UTC-4, Sanketh Shanbhag wrote:Can you post the lines of code ( Line where it is getting stuck & the previous one would also help ) where is it getting stuck ?Not sure if replay type causes execution error on remote machines.RegardsSanketh
On Monday, October 29, 2012 8:28:29 PM UTC+5:30, Vinothkumar Manoor Chinnasamy wrote:Hi,I am using this option Setting.WebPackage("ReplayType") = 2 due to action for my application's object can be performed by changing this mode.But if i am running this execution in a remote machine, Execution is getting struck in mid.if any one know the reson kindly help
--