Create a sample test and just click on the button.? Then you can look in the 
Expert View and see how QTP sees the object with the Add-in being used. Chances 
are it's a "Button Image", not a real button. IF this is the case then you may 
only be able to use Virtual Object Wizard, in my opinion, because this is only 
an X:Y coordinate of a Composite Bitmap...meaning it doesn't really exist as an 
object on the UI beyond that of a picture like a .jpeg...the object 
manipulation comes from the .NET code which is logically manipulating the 
"object" as a physical button, much like you will be able to do with a Virtual 
Object Wizard.

But keep in mind, with a Virtual Object, it will not work on anyone elses 
machine except the one where th Virtual Object is created without extra 
complexities.


-----Original Message-----
From: venkata koduri <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thu, 4 Dec 2008 12:28 am
Subject: Re: Cannot identify the object "Browse" (of class SwfButton)



First findout which kind of object. Is it standard object or not. ? If it is 
not standard object then u have change the object as standard object by using 
Object Identification.



?

On Wed, Dec 3, 2008 at 8:18 PM, Roman Zilber <[EMAIL PROTECTED]> wrote:


> when try to select one?file in window


Which kind of window/object? is it?

> About vitual object

Did you try to look on QTP in tools section? 







On Tue, Dec 2, 2008 at 8:16 PM, Tue Hieu Le <[EMAIL PROTECTED]> wrote:


I got the same issue when try to select one?file in window. I tried to 
description that file by name, but it only see all windown, not a desire file.

About vitual object, please let me know how to use it or indicate some document.

Thank you very much



On Tue, Dec 2, 2008 at 9:31 PM, Roman Zilber <[EMAIL PROTECTED]> wrote:


> You mentioned as " QTP unable to recognize the Button or edit boxes". ...

> In this case u can go for? "Virtual object" option... I hope this is correct 
> solution for ur query.


This is not a correct solution for the problem. Using Virtual Objects should be 
the last option, if anything else isn't working. Correct thing would be repair 
physical description of the object.? 







On Tue, Dec 2, 2008 at 2:08 AM, venkata koduri <[EMAIL PROTECTED]> wrote:

Hi Srinivas,

You mentioned as " QTP unable to recognize the Button or edit boxes". ...

In this case u can go for? "Virtual object" option... . I hope this is correct 
solution for ur query. Try it and tell me.

Regards...

Venkat 



On Mon, Dec 1, 2008 at 3:01 PM, 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








-- 

Regards..
Venkataraju.K
Mobile : 9848231030 




















-- 
*********************************************
***********(Mr.)LE TUE HIEU*************
*********** ?USB Engineer ? *************** 
********* ? ? NTS company ?***************
*** Room 6, 6A building, Quang Trung **
** software park, district 12, Vietnam ?**
********** [EMAIL PROTECTED] ? **********
**********************************************














-- 
Regards..
Venkat




--~--~---------~--~----~------------~-------~--~----~
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