Share
View previous topicGo downView next topic
ccnnll
Posts : 6
Join date : 2011-12-03

WebDriver with jQuery jqGrid?

on Mon Dec 19, 2011 11:15 pm
Has anyone implemented Webdriver test automation with a jQuery jqGrid control? http://www.trirand.net/demophp.aspx

Seems like it should be possible (uniquely defined IDs for finding the elements etc) but I can't seem to get straight forward clicks on column headers or get texts on cells to do anything. Also tried the Actions APIs a bit but no success so far.


Last edited by ccnnll on Mon Dec 19, 2011 11:18 pm; edited 1 time in total (Reason for editing : link)
ccnnll
Posts : 6
Join date : 2011-12-03

Re: WebDriver with jQuery jqGrid?

on Wed Dec 21, 2011 4:48 am
Incase anyone runs into this... I didn't realize it was in an iFrame. As soon as I added a switchTo - the methods worked as expected.

Code:
driver.switchTo().frame("demoFrame");
loneDriver
Posts : 1
Join date : 2013-03-13

Re: WebDriver with jQuery jqGrid?

on Wed Mar 13, 2013 5:19 am
I had the same problem, and then I realized that
the page takes a while to load the jqgrid into a table. So I did a
wait.until method and I was able to grab the rows. I will also try the
switching into it.
Sponsored content

Re: WebDriver with jQuery jqGrid?

View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum