Hi All,
I am using" WebAii_Testing_Framework_2010_3_1421" edition for automation.
I have a page (basically Rad Window) where there are html controls with same Id's.
I trying to find the HTML TABLE with attribute id=tasks and always it used to return null and hence failing the test.
I dig in more to find the cause for failure and found that there is one more control which is hidden with the same id=task , but it is not a HTML TABLE but it is a anchor <A>.
I have my code to look only for HTML TABLE to look specific id=task, but script fails. Not sure why is it failing since written code to only look for HTML TABLE. As per my understanding it should not look other than the <T> specified. But it seems that WebAii stops finding the required control at the 1st nearer match ( irrespective of the <T> specified) and do not it finds further.
page.Find.ById<HTMLTABLE>("tasks")
also I tried with
page.Find.ByExpression<HTMLTABLE>(HtmlExpersion)
I tried by constructing the regular expression for HtmlExpression wih various combinations(~, ! , | and different attributes), but not luck.
If any one have come across the issue, let me know the workaround.
Any suggestion are most welcome :)
Thanks in Advance,
Mahendra
I am using" WebAii_Testing_Framework_2010_3_1421" edition for automation.
I have a page (basically Rad Window) where there are html controls with same Id's.
I trying to find the HTML TABLE with attribute id=tasks and always it used to return null and hence failing the test.
I dig in more to find the cause for failure and found that there is one more control which is hidden with the same id=task , but it is not a HTML TABLE but it is a anchor <A>.
I have my code to look only for HTML TABLE to look specific id=task, but script fails. Not sure why is it failing since written code to only look for HTML TABLE. As per my understanding it should not look other than the <T> specified. But it seems that WebAii stops finding the required control at the 1st nearer match ( irrespective of the <T> specified) and do not it finds further.
page.Find.ById<HTMLTABLE>("tasks")
also I tried with
page.Find.ByExpression<HTMLTABLE>(HtmlExpersion)
I tried by constructing the regular expression for HtmlExpression wih various combinations(~, ! , | and different attributes), but not luck.
If any one have come across the issue, let me know the workaround.
Any suggestion are most welcome :)
Thanks in Advance,
Mahendra