Micro Focus QTP (UFT) Forums
Record a child sub menu - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Record a child sub menu (/Thread-Record-a-child-sub-menu)



Record a child sub menu - amilar - 11-03-2008

Hi All,

these days i am confusing in record a sub menu. the thing is I can record a sub menu, but when it runs it does not recognize the child sub menu object.

the flow wants to go is

Code:
1) Browser(":: Dialog").Page("Dialog ").Frame("Frame").WebElement("Admin").Click

2) Browser("Dialog").Page("Dialog ").Frame("main").WebElement("Bank").Click

3) Browser("Dialog").Page("Dialog ").Frame("main").WebElement("Banks").Click


in here when run the script 1 and 2nd run, but 3rd scenario not running (Banks). I dont know why? I already added it to Object repository.
another thing is when mouse go the sub menu (Bank) before click it it shows the child menu bar (Banks). is it can be the reason?

i have attached the menu bar picture. please check it...
if any one knows the reason, please give me the solution. thanks.
I am waiting for replay.

best regards,
Amilar