Reputation: 505
I'm working on Calypso windows application where I have to click on a tab within a window. When I was executing the script, I see error message saying that "Cannot find the object's parent window" . I have verified that window properties don't change and no other window is opened with same title.
Please suggest how I can click the tab in the window.
call JavaWindow("Back Office Window for").Activate
JavaWindow("Back Office Window for").JavaTab("Pay Role").Select ("Postings")
THE Window Title is dynamic and keeps changing as shown below
Back Office Window for Trade 4562213 (User: polaris_bouser1)
Upvotes: 0
Views: 1139
Reputation: 489
Try
JavaWindow("title:=Back Office Window for Trade.*").Activate
If this helps, use the same statement in your object repository, using the button next to the property . check the regular expression checkbox.... use this link to quickly go through how to use regular expression youtube.com/watch?v=IdIBhl0p6Fo –
Upvotes: 2