Common objects in windows and dynamic pages
Hi,Iam very new to silk test and in the process of learning it.I have two problems.
1.I have several windows(webpags) which have common objects(like popuplists,links,radio buttons etc).Is there any way we can declare them as genral instead of declaring in each page/window.
2.When i click on "OK" button new page gets displayed to the user.This page gets updated for every 5 mins with the recent data.In this case how can i verify that by using automation.
Anyone please help me.
Re: Common objects in windows and dynamic pages
What you can do is create a class that has your common objects in it and then, with subsequent pages, when you record the declarations you can remove those objects and base the page on your new class:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">winclass MyPageClass : BrowserChild
setting DontInheritClassTag = TRUE
</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">2. Unless you know what it's supposed to look like every five minutes (db query, perhaps?)....
A concerned Borland customer, a fly in the ointment, a wrench in the works.