We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

List opened from Grid is seen as a new object and will not play back

Thread ID:

Created:

Updated:

Platform:

Replies:

62060 Jun 7,2007 01:42 AM Mar 4,2010 04:56 AM Windows Forms 3
loading
Tags: Test Studio
Darren Ryan
Asked On June 7, 2007 01:42 AM

Hi all,

I am using QTP 9.2 on a syncfusion grid. In one test a grid cell contains a button to open a list. The following opens code clicks on the button and opens the list but it will not play back.

SwfWindow("Xact 1.2").SwfWindow("Project Explorer - [Project").SwfObject("gridControl1").Click 661,152
SwfWindow("SwfWindow").SwfList("SwfList").Select "Color [Yellow]"

The reason QTP will not play this back is:
It goes from SwfWindow("Xact 1.2") which opens the list to SwfWindow("SwfWindow") which is the list. But because QTP believes it is changing from one window to another the first one loses focus and thus closes the List before anything can be selected from it.
If anyone can help me out with this i would appreciate it.

Thomas K [Syncfusion]
Replied On June 12, 2007 01:52 PM

Hi Darren,

From your recordings, I noticed that our grid controls did not get recognised in QTP as expected. Please refer our knowledge base for more information:

http://www.syncfusion.com/support/kb/teststudio/Default.aspx?ToDo=view&questId=9

You need to install Essential TestStudio package (which can be obtained by submitting an direct trac requesting for the Essential TestStudio version). For more information, please visit our knowledge base for Essential TestStudio:

http://www.syncfusion.com/support/kb/teststudio/Default.aspx

Regards,
Thomas

>Hi all,

I am using QTP 9.2 on a syncfusion grid. In one test a grid cell contains a button to open a list. The following opens code clicks on the button and opens the list but it will not play back.

SwfWindow("Xact 1.2").SwfWindow("Project Explorer - [Project").SwfObject("gridControl1").Click 661,152
SwfWindow("SwfWindow").SwfList("SwfList").Select "Color [Yellow]"

The reason QTP will not play this back is:
It goes from SwfWindow("Xact 1.2") which opens the list to SwfWindow("SwfWindow") which is the list. But because QTP believes it is changing from one window to another the first one loses focus and thus closes the List before anything can be selected from it.
If anyone can help me out with this i would appreciate it.

Darren Ryan
Replied On June 21, 2007 07:53 PM

Thank you Thomas, I reinstalled SyncFusion and TestStudio and it now works. The problem seemed to be the fact that my previous instalation of Syncfusion did not have any source code.


Mano J [Syncfusion]
Replied On March 4, 2010 04:56 AM

Hi Darren,

Thanks for the update.

Regards,
Mano

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;