Forum Discussion

googleid_111563's avatar
googleid_111563
New Contributor
13 years ago

How test random generated named process

Hi,

i need help with make test where part of test is setup wizard maked in InnoSetup.

Where i record test and run tested aplication "Setup.exe" this setup is practicaly SFX archive and in temp folder is extracted and runned wizard as random generated named exe file. While i record test in namemapping is all obejct mapped for process 0v_XVzA, but if i run test objects cannot be recognized - process have another name, like Xv_05ba.

Next run name is again another. 



Another name have only process. Window, button and other object have same name.

Example: 



Recorded: Aliases.Oz_XVzA.wndHello.btnNext

Run:           Sys.Process('Xv_06ba').wndHello.btnNext



I try use Sys.Process('*').wndHello.btnNext ,but this not working and in help i find ?,* can be used only for windows and other obejcts not for process name.



My question is: How i can mapping or test random generated name process?



Thank you for answer.

And sorry for my English.