| || |
User Rajesh Roshan (email@example.com) posted:
I've Robot Version 2001.A working on Windows 2000
operating System and JSP application
I'm trying to Record PopUp windows something similar
to: Click Start -> Programs ->Rational Suite
and our application has a link as below
click on the link ADD -> Programs -> Rational Suite
Enterprise which is recorded as
HTMLLink Click, "HTMLText=Add", ""
HTML Click, "HTMLId=menuItemHilite112",
Upon Clicking on the menu item, grid is created which
on clicking records as
EditBox Click, "Name=317_281_1_86", "Coords=12,-3"
Also the EditBox NAME changes randomly.
Please help me
User DAVID MARSH (DAVID.MARSH@thales-cs.com.nospam) posted:
Nothing happens randomly on a computer (apart from me hitting it with a
baseball bat), it can appear to be random through complexity or look up
tables, but somewhere somehow the is a rule that determines what your
EditBox gets called or.....
If you automate a million PCs to run the application a million times, each
of which creates a million edit boxes will one of them be a sonnet of the
quality Shakespere wrote? If no rule how do you know the names will be
Find the rule, ditch the coordinates, stop recording start programming.
For example if you can not work out what name is going to be generated can
you predict where it will appear in the grid? Can you then use
SQAGetProperty to grab the name?
David is very correct. Nothing happens randomly. For security / storage reasons etc items do get labelled differently evrytime. If you cannot get hold of the "rule", use SQAGetCHildren of the HTML document into an array, search through the array for matching items of your interest (using the Instr function) .