Cameronsmith63
15 years agoOccasional Contributor
Cannot map the proper namer
Hi all,
Scenario: I cannot map the full name of the specific object.
Is there a method for me to extract the words "Approve Pending SalesOrder"? I have provided a picture, its in the blue bar.
I need to extract it because i want to search for it on the page and accept the task, if not, i cannot verify whether the mouse click is good enough, because i have to hope that its on the specific bar.
I have used the object finder, it returns the address but not the actual words: Sys.Process("WinOrbit"). WinFormsObject("FrameForm"). WinFormsObject("ctl_panelMain" ).WinFormsObject("ctl_ panelWork").WinFormsObject(" HeaderControl", "Customer Workspace").WinFormsObject(" CustomerWorkspace"). WinFormsObject("pnlBrowse"). WinFormsObject("tabWorkspace") .WinFormsObject("TabPage", "Tasks").WinFormsObject(" TaskManagement"). WinFormsObject("tcMain"). WinFormsObject(" tpCurrentTasks"). WinFormsObject(" splitContainer1"). WinFormsObject("SplitterPanel" , "", 1).WinFormsObject(" tasksAndActions"). WinFormsObject(" lcTasksAndActions")
So in short, i am going to store the name "Approve Pending SalesOrder" in a database, write a method to search for the name on the page, then accept the task.
The reason why i cant rely on the mouse click is because orders are constantly made, and the "Approve Pending SalesOrder" bar might shift to a different section on the page(the xy axis is not good practice for what i want to do).
Thanx
Scenario: I cannot map the full name of the specific object.
Is there a method for me to extract the words "Approve Pending SalesOrder"? I have provided a picture, its in the blue bar.
I need to extract it because i want to search for it on the page and accept the task, if not, i cannot verify whether the mouse click is good enough, because i have to hope that its on the specific bar.
I have used the object finder, it returns the address but not the actual words: Sys.Process("WinOrbit").
So in short, i am going to store the name "Approve Pending SalesOrder" in a database, write a method to search for the name on the page, then accept the task.
The reason why i cant rely on the mouse click is because orders are constantly made, and the "Approve Pending SalesOrder" bar might shift to a different section on the page(the xy axis is not good practice for what i want to do).
Thanx