Quality Testing

Quality is delighting customers

How will you automate a window which while spying is not returning any property value ??

No Description

Views: 76

Reply to This

Replies to This Discussion

while spying no values are displaying
Hi Kishore,

Would you ellaborate your scenrio.

One of the scenerio that I have guessed is below:

Is this the scenerio that when you spying something then obeject on the UI is not being displayed on spy box and because of that properties and values are not being displayed.
If this is the scenerio, I would suggest you to change your setting in "Run & Record".
Open QTP > Go to Automation > Click "Record & Run Setting" and here do some changes.
For eg. select 1st radio button on "Web" tab.
In Windows application Tab, select second radio button "Record and run only on" and check first and last checkbox.


Let me know if i am correct in my assumption :) and the solution mentioned above works for you.



Thanks & Regards,
Anika
Hi Anika

your scenario is correct

but my scenario is suppose spy is not returning any value that situation how u handle ? i think u got it now.

-kishore
Kishore,

As per my understanding this time, in your scenerio, objects are being displayed in your spy. BUT none of the values (corresponding to Properties) are being displayed.

Because if objects are being displayed in the spy then their respective properties should also be displayed on the spy and if their properties are being displayed than their corresponding values should be displayed.


One more thing that we can try is, just try whether spy is showing values in "Run time Object properties" and we can use values from there to automate a window.

Refer attached snapshot for the refrence.

Kindly let me know if I am correct in understanding.


...Anika
Attachments:
Kishore, Is this window is a part of your application under test(AUT) or it is a main window of the AUT.

If your answer is yes for 2nd part, change the tool which will support/identifies the window.
If your answer is yes for the first part, you can go with the analog record more or create virtual object and use it.

Any comments ...welcome
One more option we can try is use "Object Identification" window since properties are not being displayed then may be the issue is that the parent or child object properties are not visible.

Followthe following steps:

1. Go to Tools > Object Indentification.
2. Select parent (your environment).
3. Select child (from test object classes)
4. Click 'From add/Remove' button
5. check all the checkboxes
6. Click ok.

Now again open the object spy for the window for which spy was not showing the property value.

This time we must have properties on our Spy.
Hi Anika,

These steps are no way relats to object spy to show the properties of that object. If the object spy is not showing any properties, the object is not recoganized by the QTP.

To work on such controls, you need to create some virtual objects and play on it.

Selvam

RSS

TTWT Magazine

Webinar

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service