Hi All
There's been a lot of very recent work done in the AutoTest locator area- can you verify which version you're working with? I'm guessing upgrading to the latest nightly will make this work
Thanks
Isomorphic Software
Announcement
Collapse
No announcement yet.
X
-
Even for miller column it returns listgrid
This is what i get for Miller column cell, which is quite different from what sanjiv got, what am i missing? Do i have the wrong version of AutoTest.js?
Code:"//ListGrid[ID="isc_OID_60_column"]/body/row0/col0"
Last edited by abhisec; 1 Apr 2010, 06:27.
Leave a comment:
-
Locator for miller column node
Hi Sanjiv,
I got that for the Miller Column node in the navigation tree grid on left. That is returned after i pass in the cell element for that node. Am i missing something?
Thanks,
Leave a comment:
-
How did you obtain the locator "//TreeGrid[ID="isc_OID_13"]/body/row4/col0" for the ColumnTree? Here's a locator string that I obtained for a particular column / row of the Miller Column sample.
//ColumnTree[ID="employeeColTree"]/column[Class=ListGrid||index=1||length=3||classIndex=1||classLength=3||roleIndex=1||roleLength=3||scRole=list]/body/row[1]/col[0]
Sanjiv
Leave a comment:
-
AutoTest.js getElement throws an exception for automated testing
Hi,
I am trying to create an extension for smartgwt using QTP extensibility and autotest.js (mentioned in one of the posts). After getting things to go as far as picking up the right locator, it blows up while trying to retrieve the element.
This is the locator returned for showcase nav tree ("Miller Columns") node
And here is where it blows up "baseComponent.getElementFromSplitLocator(locatorArray)" in getElementCode:"//TreeGrid[ID="isc_OID_13"]/body/row4/col0"
This is the actual code in isc core which blows up:Code:return baseComponent ? baseComponent.getElementFromSplitLocator(locatorArray) : null;
"_81.removeAt(0);"
Has anyone got any ideas? As always any help is greatly appreciated.Code:return isc.emptyString},getElementFromSplitLocator:function(_81){var _8=this.getChildFromLocatorSubstring(_81[0]);if(_8){_81.removeAt(0);
Thanks,Last edited by abhisec; 31 Mar 2010, 10:29.Tags: None
Leave a comment: