Getting error on using Clickcell method for a grid
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting error on using Clickcell method for a grid
Hi Everyone,
I am trying to use the clickcell method to select a record in the grid with the below parameters
Name Value
Row 0
Column unassigned
Shift skNoShift
and I get an error on running the test as "grid column not found " . But when I use Click method it works fine. But ends up clicking some other record at times.So ideally i would want to use clickcell method. Could anyone suggest what I am I doing wrong here. Or what paramters has to be passed ?
Any suggestions would be much appreciated.
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ISR,
Could you please share the problematic line with us? We will need to see how you call the ClickCell method.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @TanyaYatskovska ,
Thank you for replying. I am using keyword tests and below is the line :
Aliases.CareCallSQL.BatchSearchForm.SearchGrid.ClickCell(0);
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> Column unassigned
What are your expectations when you command to click a cell but do not specify a column?
> Aliases.CareCallSQL.BatchSearchForm.SearchGrid.ClickCell(0);
What object is mapped via the SearchGrid alias? (DevExpress, Qt, ...)
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the help, Alex.
@ISR, does the issue still exist? Please let us know if you need any more assistance - we will be happy to help.
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies for the late reply.
Turns out the grid was changed so I used DblClick method and it is working fine.
Thank you for your help @TanyaYatskovska and @AlexKaras
