Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5 Save button QTP
#1
Not Solved Shy 
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"">",
Reply


Messages In This Thread
5 Save button QTP - by Qtpnew - 09-02-2015, 11:01 PM
RE: 5 Save button QTP - by supputuri - 09-03-2015, 09:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I save name and email address in QTP ? Shiv Y 1 2,377 12-19-2013, 07:24 AM
Last Post: basanth27
  QTP 11.0 Doesn't allow to save excel extracted from BO report. Hema Ganesh.M 1 3,079 12-09-2013, 07:32 AM
Last Post: basanth27
  Auto save in QTP kalaivanan123 0 2,736 11-12-2013, 12:58 PM
Last Post: kalaivanan123
  QTP not clicking on Yes button in the IE pop up dialog adityasrinivasb 2 9,336 09-29-2013, 11:01 PM
Last Post: prashantrawat101@gmail.com
  Perform some functions whenever QTP Stop button is pressed smartkarthi 2 2,951 08-22-2013, 11:43 AM
Last Post: smartkarthi

Forum Jump:


Users browsing this thread: 1 Guest(s)