08-31-2010, 06:33 PM
Hi
I am Automating an ASP.Net application having teleric control with QTP 9.2. I am creating a generic keyword driven framework. I am able to successfully Login with my framework. Now i want to click on Menu items that i am able to do after that i want to click on menu items under it with same click function.I am able to do that if i pass only index of menu items but if i pass html tag and text as property it fails, as index is not a good option to work with, can anyone tell me what approach i should opt.
Just to tell, i have recorded click on menu item and run that it worked but when i use DP there for the object and taken text and html tag as property it failed.may with recording it is using other properties as well to identify the object.but it is hard to try with all combination of properties for many objects.
if there is any approach to click that by using DP then i can easily automate that in my framework.Can anyone help me to automate this issue.
You can assume the Menu items like this:
Name
.Ram
.Shayam
Age
.21
.25
Thankx
I am Automating an ASP.Net application having teleric control with QTP 9.2. I am creating a generic keyword driven framework. I am able to successfully Login with my framework. Now i want to click on Menu items that i am able to do after that i want to click on menu items under it with same click function.I am able to do that if i pass only index of menu items but if i pass html tag and text as property it fails, as index is not a good option to work with, can anyone tell me what approach i should opt.
Just to tell, i have recorded click on menu item and run that it worked but when i use DP there for the object and taken text and html tag as property it failed.may with recording it is using other properties as well to identify the object.but it is hard to try with all combination of properties for many objects.
if there is any approach to click that by using DP then i can easily automate that in my framework.Can anyone help me to automate this issue.
You can assume the Menu items like this:
Name
.Ram
.Shayam
Age
.21
.25
Thankx