Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot identify the Specified item
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi SreeKanth,

Thanks for replying.

Here is my whole code which i was trying to run.
Sometimes it got stuck up at line 2 or on line 12.
My requirement is that i want my script for different files saved at different location.i read about this on net & i found that i have to add Object in OR,i did that also.still it is not working.

Code:
Dialog("SQL Recovery").WinToolbar("ToolbarWindow32").Press 1
Dialog("SQL Recovery").Dialog("Open").WinListView("Look in:").Select "Test.mdf"
Dialog("SQL Recovery").Dialog("Open").WinButton("Open").Click
Dialog("SQL Recovery").Dialog("SQL Recovery").WinButton("Close").Click
Dialog("SQL Recovery").Dialog("SQL Recovery").WinButton("No").Click
Dialog("SQL Recovery").WinToolbar("ToolbarWindow32").Press 4
Dialog("SQL Recovery").Dialog("SQL Server Recovery Export").WinEdit("Server Name :").Set "jyoti"
Dialog("SQL Recovery").Dialog("SQL Server Recovery Export").WinEdit("Database Name :").Set "Test1"
Dialog("SQL Recovery").Dialog("SQL Server Recovery Export").WinButton("Export/Save").Click
Dialog("SQL Recovery").Dialog("SQL Server Recovery Export").Dialog("SQL Recovery").WinButton("Yes").Click
Dialog("SQL Recovery").Dialog("SQL Server Recovery Export").Dialog("SQLRecovery").WinButton("OK").Click
Dialog("SQL Recovery").Dialog("SQL Recovery").WinButton("Close").Click
Dialog("SQL Recovery").Dialog("SQL Recovery").Dialog("SQL Recovery").WinButton("Yes").Click
Dialog("SQL Recovery").Dialog("SQL Recovery").Dialog("Browse For Folder").WinTreeView("Please select a folder").Select "Desktop"
Dialog("SQL Recovery").Dialog("SQL Recovery").Dialog("Browse For Folder").WinButton("OK").Click
Dialog("SQL Recovery").Close
Dialog("SQL Recovery").Dialog("SQL Recovery").WinButton("Yes").Click
Dialog("SQL Recovery_2").Minimize
Reply


Messages In This Thread
RE: Cannot identify the Specified item - by jyoti_kumari - 12-09-2010, 11:37 AM
RE: Cannot identify the Specified item - by Saket - 12-10-2010, 06:38 PM
RE: Cannot identify the Specified item - by ashy - 07-30-2011, 03:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the specified item Beginner 0 2,482 06-22-2017, 04:55 PM
Last Post: Beginner
  WinListView set item command Shahino007 0 2,646 10-06-2015, 03:57 PM
Last Post: Shahino007
  How to identify the properties of amenu item(not Weblist)oncethe menu tab is clicked? raval 1 2,729 10-02-2012, 09:16 PM
Last Post: jcraig26
  Get value of a List view item qtpbegin 4 14,199 08-08-2012, 04:58 PM
Last Post: Deepak_QTP
  Creating ObjectRepository item through VBScript LogicaLInsanity 0 2,457 01-24-2012, 03:08 AM
Last Post: LogicaLInsanity

Forum Jump:


Users browsing this thread: 1 Guest(s)