TestComplete works incorrectly in a grid
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2012
02:00 PM
08-12-2012
02:00 PM
TestComplete works incorrectly in a grid
Hello,
I cannot get Test Complete to function properly when testing a grid. I will even record a macro which test complete translates as a script, immediately run the same script and it will error. The error occurs when attempting to select a cell within the script. Here is the code (I can include screenshots if neccessary):
CMC = .CMC
grid = CMC.WinFormsObject("frmSurveyIntakeQualify").WinFormsObject("xtraScrollableControlOutreachQualifying").WinFormsObject("gridControlHouseholdMembers")
.Desktop.Keys "[Tab]"
grid.Keys("[Tab]1")
grid.ClickNewRowCell("HOH") '*****it errors here when attempting to select a cell. the previous tabs are workarounds*****
grid.ClickNewRowCell("Income Code")
I cannot get Test Complete to function properly when testing a grid. I will even record a macro which test complete translates as a script, immediately run the same script and it will error. The error occurs when attempting to select a cell within the script. Here is the code (I can include screenshots if neccessary):
Set CMC = Aliases.CMC
CMC = .CMC
Set grid = CMC.WinFormsObject("frmSurveyIntakeQualify").WinFormsObject("xtraScrollableControlOutreachQualifying").WinFormsObject("gridControlHouseholdMembers")
grid = CMC.WinFormsObject("frmSurveyIntakeQualify").WinFormsObject("xtraScrollableControlOutreachQualifying").WinFormsObject("gridControlHouseholdMembers")
Sys.Desktop.Keys "[Tab]" 'Select "Person" workaround
.Desktop.Keys "[Tab]"
Call grid.Keys("[Tab]1")
grid.Keys("[Tab]1")
'Call grid.Keys("[Tab]") 'hoh
'Call grid.Keys(" ")
'Call grid.ClickNewRowCell("Person")
'Call grid.TextEdit.TextBoxMaskBox.Keys("1")
Call grid.ClickNewRowCell("HOH") '*****it errors here when attempting to select a cell. the previous tabs are workarounds*****
grid.ClickNewRowCell("HOH") '*****it errors here when attempting to select a cell. the previous tabs are workarounds*****
Call grid.ClickNewRowCell("Income Code")
grid.ClickNewRowCell("Income Code")
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2012
11:25 PM
11-13-2012
11:25 PM
Hi Tripp,
Let us know whether the problem is reproduced in TestComplete 9.10. Besides, it would be great to see a screenshot of the error you get.
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2012
12:27 AM
11-20-2012
12:27 AM
Tripp Micou of Massachusetts formerly in the same building with ABD? That is not a super common name. Do you remember Stephanie Goulet?
Just sayin' hey. I would have emailed you, but there isn't one on this forum.
Just sayin' hey. I would have emailed you, but there isn't one on this forum.
