Forum Discussion

ajeethsashi's avatar
ajeethsashi
Occasional Contributor
2 years ago

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

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

    • ajeethsashi's avatar
      ajeethsashi
      Occasional Contributor
      Does we have any-other option to configure without using co-ordinates.
      Because its difficult find co ordinates.
  • rraghvani's avatar
    rraghvani
    Champion Level 3

    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's avatar
    ajeethsashi
    Occasional 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's avatar
    rraghvani
    Champion Level 3

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