Home Forum
 
Welcome, Guest
Please Login or Register.    Lost Password?

This is the RIATest discussion forum. Its purpose is to share experiences amongst the ever-expanding RIATest user community. Welcome if you are a newcomer !

Please note that whilst RIATest staff welcome and may occasionally participate in discussions, the forum is not intended to be the recognised channel for obtaining official support. Customers with support contracts are asked always to contact the support desk directly to obtain official, company support.

Go to bottom Favoured: 0
TOPIC:
#2510
RIAtest3 Cannot grab the overlap title windows 1 Month, 4 Weeks ago  
environment:RIAtest3
problem:
RIATest3 cannot grab two overlapped windows. the second window cannot be displayed.
background:
In the browse, there are several function menus to display related FlexTitleWindows, called them menu 1, menu2.
click menu1 will display FlexTitleWindow1.
click menu2 will display FlexTitleWindow2.
these two windows are overlapeped.

Operation:
Record operations in FlexTitleWindow1. then click menu2 to display FlexTitleWindow2 and do some operations.

Playback the records. the Play is stopped in the first operation in FlexTitleWindow2 and there is an error" Action failed: change, Cannot find object by locator****"
And actually the FlexTitleWindow2 is not displayed.

I tried several ways but failed. Can someone provide help on this? Thanks alot!
leqiang (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2514
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago  
You need to figure out why the FlexTitleWindow2 is not displayed. It probably indicates that the action that should make it visible was not properly executed. Unfortunately without knowing more details it is impossible to advise further.
RIATest (Admin)
Admin
Posts: 1157
graph
User Online Now Click here to see the profile of this user
Logged Logged  
 
RIATest Team.
=====================
Please vote for RIATest and help it to be named the Best automated test tool for Flex here: www.automatedtestinginstitute.com/home/i...id=10&Itemid=183
 
The administrator has disabled public write access.  
#2516
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago  
Thanks for reply.

Actually in the browser, the FlexTitleWindow2 is displayed correctly. But it seems RIATest3 didn't grab this change.
In the Inspect window, there is only one FlexTitleWindow1.

Dear Admin,

can you let me know what the debug log can help to find the root cause? I can get the log. thanks again.
leqiang (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2517
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago  
Sorry, I am not sure I understand what is the problem. You first said:

And actually the FlexTitleWindow2 is not displayed.

Now you say:

Actually in the browser, the FlexTitleWindow2 is displayed correctly.



Anyway the root problem is that the script is attempting to perform a "change" action on something that cannot be found as indicated by "Cannot find object by locator" error message. You need to figure out why this is happening. There is no way that we can know the answer to this without seeing your script, your application and knowing how the application works.
RIATest (Admin)
Admin
Posts: 1157
graph
User Online Now Click here to see the profile of this user
Logged Logged  
 
RIATest Team.
=====================
Please vote for RIATest and help it to be named the Best automated test tool for Flex here: www.automatedtestinginstitute.com/home/i...id=10&Itemid=183
 
The administrator has disabled public write access.  
#2536
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago  
RIATest wrote:
[quote]Sorry, I am not sure I understand what is the problem. You first said:

And actually the FlexTitleWindow2 is not displayed.

Now you say:

Actually in the browser, the FlexTitleWindow2 is displayed correctly.



Sorry for the confusing words.
when I record the test, the FlexTitleWindow2 was displayed correctly.
then when I replayed the test scripts, the FlexTitleWindow2 was not displayed.
it seems RIAtest didn't grab the change when I record the test.

agree, it's hard to debug it without joining the test session.
leqiang (User)
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2537
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago  
leqiang wrote:

when I record the test, the FlexTitleWindow2 was displayed correctly.
then when I replayed the test scripts, the FlexTitleWindow2 was not displayed.

So, the problem is that when replaying some action that should result in displaying FlexTitleWindow2 is not correctly played back. You need to debug your test script to understand what exactly is wrong by looking at the preceding actions and maybe executing them step by step and ensuring they have the desired effect.
RIATest (Admin)
Admin
Posts: 1157
graph
User Online Now Click here to see the profile of this user
Logged Logged  
 
RIATest Team.
=====================
Please vote for RIATest and help it to be named the Best automated test tool for Flex here: www.automatedtestinginstitute.com/home/i...id=10&Itemid=183
 
The administrator has disabled public write access.  
Go to top