Windows Functional Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2010
05:30 PM
04-07-2010
05:30 PM
Windows Functional Testing
Identifying the objects -
Name Mapped objects used in the script for the window application is not recongnized by Test Complete in the later stages. If this is the case how do I go ahead with the project to script all the tcs.
Eg: -
function Test1()
{
var dockTabControl;
dockTabControl = Aliases["MainForm"]["workspaceContainer"]["OrderEntry"]["DockTabControl"];
dockTabControl["ClickTab"](0);
dockTabControl["DockTabPage"]["DockContainer"]["toolStripContainer"]["ToolStripContentPanel"]["OrderEntry"]["pnContainer"]["AbbreviatedOrderPanel"]["simpleTicket"]["Click"](450, 21);
}
This is a recorded script for just clicking on a window dock container. Once I close and reopen my application, test complete is not recognizing it back. Please help me how this will work.
Lakshmi
Name Mapped objects used in the script for the window application is not recongnized by Test Complete in the later stages. If this is the case how do I go ahead with the project to script all the tcs.
Eg: -
function Test1()
{
var dockTabControl;
dockTabControl = Aliases["MainForm"]["workspaceContainer"]["OrderEntry"]["DockTabControl"];
dockTabControl["ClickTab"](0);
dockTabControl["DockTabPage"]["DockContainer"]["toolStripContainer"]["ToolStripContentPanel"]["OrderEntry"]["pnContainer"]["AbbreviatedOrderPanel"]["simpleTicket"]["Click"](450, 21);
}
This is a recorded script for just clicking on a window dock container. Once I close and reopen my application, test complete is not recognizing it back. Please help me how this will work.
Lakshmi
9 REPLIES 9
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2010
11:19 PM
04-07-2010
11:19 PM
Hi,
Check the Name Mapping scheme. Most probably, the problematic object is mapped by properties whose values change from run to run.
Check the Name Mapping scheme. Most probably, the problematic object is mapped by properties whose values change from run to run.
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2010
12:04 AM
04-21-2010
12:04 AM
Thanks a lot for the reply...
I had got through that problem by going through help...
While scripting for windows application, if the window is split into many components and the each component is placed in one position. I had mapped the objects.
But, when i try to move the position of the object and then again try to spy the object from namemapping, applicaiton says "underlying object doesnot exist"
How can i get thru with this problem? Please have a look at the attachment for my application screenshot.
Lakshmi...
I had got through that problem by going through help...
While scripting for windows application, if the window is split into many components and the each component is placed in one position. I had mapped the objects.
But, when i try to move the position of the object and then again try to spy the object from namemapping, applicaiton says "underlying object doesnot exist"
How can i get thru with this problem? Please have a look at the attachment for my application screenshot.
Lakshmi...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2010
10:45 PM
04-22-2010
10:45 PM
Hi Lakshmi,
Did you use coordinates or some other properties which store the objects' positions to map the objects? If so, note that the approach is unreliable and I strongly recommend that you use other, more reliable properties (for example, native control IDs or some properties which store the displayed text) in your Name Mapping scheme.
Best regards,
Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010
06:30 PM
04-26-2010
06:30 PM
Hi Allen,
I did not use any coordinates also i could not find the property "NativeControlObject ID" which you mentioned.
One more scenario is like this: -
I have a similar/same object in two different docks(which are placed as tabs) of same panel/dock. This is also one which im not able to highlight once i change the focus to another tab.
Please have a look at the screenshot.
-laks.
I did not use any coordinates also i could not find the property "NativeControlObject ID" which you mentioned.
One more scenario is like this: -
I have a similar/same object in two different docks(which are placed as tabs) of same panel/dock. This is also one which im not able to highlight once i change the focus to another tab.
Please have a look at the screenshot.
-laks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010
08:41 PM
04-26-2010
08:41 PM
Hi,
By what exact properties and values are the problematic objects mapped?
By what exact properties and values are the problematic objects mapped?
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010
10:02 PM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010
12:35 AM
04-27-2010
12:35 AM
Hi,
What exact value is stored in your NM scheme for the NativeClrObject.Name property?
What exact value is stored in your NM scheme for the NativeClrObject.Name property?
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010
05:09 PM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010
12:25 AM
04-28-2010
12:25 AM
Hi,
OK, in this case, zip the entire project suite directory and send it to us.
OK, in this case, zip the entire project suite directory and send it to us.
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
