Forum Discussion
Hello ashly
I understand from your description that your single click action is performing two independent click actions, and that is for sure interesting and illogical.
To help you isolate and probably make sense of it:
- Reboot
- In a new test project, record only the single click action
- How many KeywordTests Item and what Operation? I would assume a single Click Item
- Select that Item and right click, and from the speed menu select and run a) "Highlight on Screen" and b) "Run Selected Operation"
- From the log, view the picture to see where TestComplete clicked
- Did TestComplete recording include only a single Click Item or two Click Items?
- Did "Highlight on Screen" and "Run Selected Operation" execute as expected?
- What do the log statement and picture tell you?
hi, I have rebooted the system and in a new project suite I created a new test project and recorded the keyword testcase. I have created it as one keyword test.
When I selected that item and selected "Highlight on Screen", it selected the entire ribbon menu and not specifically the tab that I selected. When I selected "Run selected operation" the operation has worked by clicking the intended tab but also some other unrelated icon. In the namemapping session, the name of these objects haven't yet come. I will attach the log for reference. This is the log generated when I run the selected operation only.
- Hassan_Ballan18 hours agoContributor
For proper identification I would expect it to highlight the intended item and not the entire ribbon. TestComplete usually clicks in the center of the recognized screen highlighted object. I am not experienced in desktop applications ribbon.
Right click on the KeywordTest Item and select "Show Object in Name Mapping Editor" to view the recognition details. Also, for that highlighted Mapped Objects Aliases node, on the parent and child nodes, again you can right click to select Highlight. Recognition needs to be manually adjusted by editing to suite your needs, and I suggest you follow rraghvani instructions. Or come up with a work around as JDR2500 suggest.
Related Content
- 3 years ago
- 3 years ago
Recent Discussions
- 16 hours ago
- 18 hours ago
- 20 hours ago