This issue can be solved by putting the NULL in screenshot statement like below.
Delete the number(49) and put 'null' in place like below
it is working fine for me after doing this changes.
this problem got resolved in OATS 9.2 Version..
Edited by: 842341 on Apr 20, 2011 3:56 AM
I have started working on OATS for automating our application.
Our application consists some text box which are linked with one link, that link opens one pop-up having values. We can select those values by clicking on checkboxes alligned with the values.
Now problem is, we are not able to capture that checkbox id or name or the pop up itself, so that we can record that.
Is there any function or script through which we can capture these objects.
I'm using OATS184.108.40.206
Thanks in advance.
Can you please check whether objects were captured in DOMTree. If you found objects there, then create code based on objects and properties found in DOMTree
Actually the code written by the dev is as follows:
textbox is connected with a link button which on clicking opens an popup window having values with checkboxes . We cannot select any value from the popup until we click on the checkboxes. Now the problem occurs when we try to capture that popup window and checkboxes in them. Actually there is no id for any of the checkboxes and popup window.
The devs are generating the popup window by creating an array and then inserting the values in that dynamically.
We have class and onclick function in TD tag in the HTML view for the popup window.
Can we create any function and then try to click on the checkboxes.
One more thing, the popup is the multi selection.
Please let me know if you need more information, other than code....
Find an unique attribute of check boxes. If you can see those objects in DOMTree, check any objects having unique property, ie. as per my understanding your popup contains a table with multiple columns in which one column in full of check boxes.
So if any of the column objects have unique attribute, the we can check corresponding check boxes