Ask a Question

connecting 2 objects by drawing a line without coordinates

ajeethsashi
New Contributor

connecting 2 objects by drawing a line without coordinates

Hi

I want to connect two objects/elements by using line from one node to another node without using any coordinates method.

eg:

4 objects are there

object 1 & 2 is having 2 two connecting nodes

object 3 & 4 is having one connecting nodes

Step1:

i want to connnect object_1 Second node to object_2 first node need to be connected

Step2:

i want to connnect object_1 First node to object_3 first node need to be connected

Step1:

i want to connnect object_2 Second node to object_4 first node need to be connected

ajeethsashi_0-1670578247866.png

is that below mentioned program is correct

i have the path/id for all objects node 

eg: 

if(obj_1 and obj2):

   obj_1.node2.click()

   obj_1.node2.drag(obj_2_n2)

   

 

6 REPLIES 6
rraghvani
Valued Contributor

No, that will not work. Drag Action required coordinates.

 

Does we have any-other option to configure without using co-ordinates.
Because its difficult find co ordinates.
rraghvani
Valued Contributor

Use the Object Spy tool, and see what properties are exposed for your objects. If there's any coordinates shown, you might be able to use that

ajeethsashi
New Contributor

Ok in that case how to map the two objects if random devices are there as shown earlier or in different
Because i have object nodes but i cant able to map those two.
Kindly give some solution its .net based applications
rraghvani
Valued Contributor

Without knowing what the Object Spy tool shows, I have no idea.

ajeethsashi
New Contributor

 

 

cancel
Showing results for 
Search instead for 
Did you mean: