09-02-2015, 11:01 PM
I have 5 save buttons in 5 tabs. The tabs are placed one after the other. My object repository have these added as 5 save buttons with name save 1, save 2, save 3 , save 4, save 5. All are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except
Code:
First button
Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">",
Second button
"html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">",
Third button
"html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab
Fourth button
"html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button""
5th button
"html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",