Use GUI Spy and read relevant put of tutorials, this type of a problem is
very common when you work with QTP/Winrunner.
General solution: Record the button again and compare new attributes with
the recorded before.
Advise "use window id which is a unique foe Window objects" is complete
crap.
It'd be very helpful if you add error message.


On Mon, Dec 1, 2008 at 4:31 AM, shrinivas <[EMAIL PROTECTED]>wrote:

>
> Hi friends,
>
> I am testing a desktop application with .net environment.
>
>
> Before recording the Actions I added ..net Add-in
>
>
> I recorded a simple action of mouse click, & tried to Playback.
> But while playback QTP unable to recognize the Button or edit boxes.
>
>
> SystemUtil.Run "C:\Program Files\Application\bin\app.exe","","C:
> \WINDOWS\system32","open"
> SwfWindow("App").SwfButton("Browse").Click (This button is not
> getting
> noticed)
> SwfWindow("App").Dialog("Select a File").WinListView
> ("SysListView32").Select "custom_agents"
> SwfWindow("App").Dialog("Select a File").WinButton("Open").Click
> SwfWindow("App").SwfButton("Next").Click
>
>
> Kindly Help me.
>
>
> - Shri
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to