If u press a push button in an application the winrunner
generates tsl statement like button_press(..) i.e the class
name of the object and the event on that object but
Why if u click a static text in an application the
winrunner generates tsl statemen like win_mouse_click
rather than the statement with combination of classname and
event..??
Answers were Sorted based on User's Feedback
Answer / suresh.chaluvadi
yes this is due to the Default record methods that were
there in the winrunner for that objects.
The Default Record method for the push button is "Record"
means if u operate some thing on that object..it records
all the events on that.
the default Record method for the push button is "PassUp"
means if u operate some thing on that object..it treat
those actions will be on the element where the object was
placed. and naturally the static text object was placed on
window..
so the tsl statement like win_mouse_click will be
generated..
correct me if any thing wrong..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lakshmi
I think for virtual objects WR generates the tsl statement
like win_mouse_click()
| Is This Answer Correct ? | 1 Yes | 0 No |
How do you view the contents of the GUI map?
What are the advantages of Global gui over gui map per test mode?
Testing work start at once
What is test parameter
Say there is some content in an array. what function do you use to get the content of an array?
Where are the expected results will be stored?
What is the purpose of regexp_label property and regexp_msw_class property?
What are command line options?How to invoke winrunner with vb add in using command line options?
Have you ever written test cases or did you just execute those written by others?
what are the stages of software development life cycle?
5 Answers Agility e-Services, Trigent,
How do you analyze results and report the defects?
What is Data Driven TEsting?