cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error on using Clickcell method for a grid

ISR
Occasional Contributor

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

 
5 REPLIES 5
Community Manager

Re: Getting error on using Clickcell method for a grid

Hi @ISR,

Could you please share the problematic line with us? We will need to see how you call the ClickCell method.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
ISR
Occasional Contributor

Re: Getting error on using Clickcell method for a grid

Hi @TanyaGorbunova ,

 

Thank you for replying. I am using keyword tests and below is the line :

 

Aliases.CareCallSQL.BatchSearchForm.SearchGrid.ClickCell(0);

 

Thanks

Community Hero

Re: Getting error on using Clickcell method for a grid

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, ...)

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Community Manager

Re: Getting error on using Clickcell method for a grid

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 Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Highlighted
ISR
Occasional Contributor

Re: Getting error on using Clickcell method for a grid

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 @TanyaGorbunova and @AlexKaras 

New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2