Object with same name is not able to be clicked on multiple times in Katalon Studio


#1

A button that can be click at first time, cannot be clicked second time. It seems to be not clickable.


#2

Hi Marco

Two things:

  1. This is not a bug in Katalon Studio (therefore I will move this discussion) it is a problem in your test.

  2. To help us help you, follow this advice:


#3

Hi Marco - are you attempting to click on one object or do you have multiple objects that are captured as the same thing? If it something along those lines then you need to either capture them individaully or manually input the xpath to identify them through location rather than attributes. That being said this is just a guess from your title. As Russ has said, please provide more info.


#4

hi please i have a similar problem that i have one object repeated 5 times but it has different values but when record or spy it capture the object once but i need 5 copies for different values how can i do this ?


#5

Spy capture each object individually and save it to your object repository. The xpath it captures will be different for each which will allow you to decide which one to select.


#6

i tried to capture it individually but it only captured once in object repository
WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/div_ _rs-handle rs-move’))

WebUI.click(findTestObject(‘manual mode chrome/Page_/button_ (2)’))

WebUI.closeBrowser()

so it perform the multiple actions for one of the /div_ _rs-handle rs-move i want it to be performed for all how ?


#7

Please share the html for all 5


#8

i solved the problem thank you but please i have another big problem i have a button to upload image the button css type not defined when i inspect how can i make it work?


#9

Share html of button please


#10

Start a new Topic with a New Question. It’s a good rule, please stick to it. Thanks.

@asmananah98 You should post your solution so other people can find it. Thanks.


#12

#13

please check the following image https://prnt.sc/p5r85f


#14

the solution was spying each time the same object for 5 times ,sorry for asking for another question here but its urgent


#15