Why does Recorder use 'FormFind' instead of 'FormFindTitle'?
Posted: Wed Jul 30, 2008 12:52 pm
I am just evaluating RanorexRecorder and tried to record a short sequence of interactions with our product. The generated Python code works fine as long as I do not restart our software.
The reason for this behavior is the usage of FormFind which requires className as argument.
Our application does not have a constant className. If I change the code as follows, the script works fine even if I restart our software.
Is it possible to tell the Recorder to generate Python code with method FormFindTitle instead of FormFind?
The reason for this behavior is the usage of FormFind which requires className as argument.
Code: Select all
form = Ranorex.FormFind("VISUM 10.20-00* - Network: EXAMPLE.VER* - [Network]", Ranorex.MATCH_EXACT, "Afx:00400000:8:00010011:00000000:0005072D", 0, 5000*timeScale)
Code: Select all
form = Ranorex.FormFindTitle("VISUM 10.20-00* - Network: EXAMPLE.VER",
Ranorex.MATCH_FROM_START, True, 5000*timeScale)