Click here to Skip to main content
15,898,949 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a problem and need your help.
I want to click on delete button (icon "x" button) in C# for Account page which I've created account before.

For example: On Create Account Page, I create first account with ID = 1010, and first account (ID = 1010) is displayed on first line. After that I create second account with account ID = 1005, and second account (ID =1005) is displayed on FIRST LINE, then account ID = 1010 will display on SECOND LINE (It means, account sort in order).

Now I want to have coding for C# to click on delete button (icon "x" button) for account with ID = 1005 and ID = 1010 (remove 2 accounts created above).

Could everyone help me on this ?

Many thanks,
VH

Edit:
because I want to write user code in C# when using Ranorex automation tool. I used windows 8 and Ranorex automation tool. I want to click on [x] (delete button) during running Ranorex automation tool. Please help me. Thanks! VH
Posted
Updated 15-Apr-13 16:42pm
v3
Comments
Sergey Alexandrovich Kryukov 15-Apr-13 22:10pm    
[x] on what window? of what application? if this is your application, what is the application type, UI library you use.

—SA
[no name] 15-Apr-13 22:19pm    
Okay so why is it that you are unable to call the button click handler? This is not making a whole lot of sense.
Member 9990406 15-Apr-13 22:42pm    
because I want to write user code in C# when using Ranorex automation tool. I used windows 8 and Ranorex automation tool. I want to click on [x] (delete button) during running Ranorex automation tool. Please help me. Thanks! VH
[no name] 15-Apr-13 22:51pm    
Okay now it makes a bit more sense. You say "delete button" like we would have any idea what delete button you are talking about. So what is the problem? Did you try anything at all? Did you get any errors? Where is the code that demonstrates your problem? Did you read the documentation, it is at http://www.ranorex.com/support/user-guide-20.html by the way.
Member 9990406 15-Apr-13 22:59pm    
Thanks for your suggestion the documentation but in documentation doesn't have any coding relate to this problem for C#. So I need your help :-)
Thank you,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900