Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Testing Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Testing Anywhere Post messages and questions related to Testing Anywhere here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2010, 04:43 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default Deleting a user from a webpage list

Hi, I need to create a test that selects a user from a list displayed on a webpage, and deletes that specific user.

The problem I have is that the 'delete' function just deletes the next / any user, and not the specific user I want to delete.

eg:

Username1 FirstName LastName Delete
Username2 FirstName LastName Delete
Username3 FirstName LastName Delete

From a webpage, how can I sdelete Username2 and not any of the other users?
See the attachment screen shot.

Thanks.
Attached Images
File Type: jpg deleteUser.jpg (37.3 KB, 2 views)
Reply With Quote
  #2 (permalink)  
Old 12-08-2010, 05:27 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello,

We recommend you to try using the key stoke commands.
You can use keystroke to search for particular User that is required to be deleted. Using Tab keys we can navigate to different links available on the web page.

Below mentioned series of keystrokes is the example to reach at the required link:
1. Keystrokes: [CTRL DOWN]f[CTRL UP] in "Currently Active Window"
2. Delay: (500 ms)
3. Keystrokes: user[ENTER] in "Find"
4. Delay: (500 ms)
5. Keystrokes: [ALT DOWN][F4][ALT UP] in "Window1:"""
6. Delay: (500 ms)
7. Keystrokes: [TAB] in "Currently Active Window"
8. Delay: (500 ms)
9. Keystrokes: [TAB] in "Currently Active Window"
10. Delay: (500 ms)
11. Keystrokes: [ENTER] in "Currently Active Window"
Reply With Quote
  #3 (permalink)  
Old 12-08-2010, 07:06 PM
KMuller KMuller is online now
Member
 
Join Date: Dec 2010
Posts: 91
Default

Thanks, all worked.

I had to also include an IF statement that checked for '1 match' or 'No match found' from the search to determine whether the test should continue deleting or not.

Without the IF condition, the test would just delete the next user even if the one I was searching for was not found.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 02:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved