Hi Friends,
I'm testing a SharePoint application by QTP 8.2
I face a problem that really difficult to me, please take a
look on the description below:
As you may know, SharePoint is an application is allow
customize function from user, so that, user can add many web
parts and put at any place they like.
For ex: if there are two web parts existing in the
SharePoint site
When I using QTP to recognize a Web Table on any web part,
it has the properties as "Index" and "html tag" only.
Problem is: If there is any user changes the display of my
web part, the "Index" of Web table is changed as well, so
that QTP cannot identify exactly my object.
Can anyone help me how to make that object as unique or
another way to identify that web table object?
Hope to receive many solutions from you. Thanks a lot.
Answer Posted / harsha
ya friend you can identify webtable using unique property
called htmlid
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain me which web driver implementation is the fastest?
8. How we test web based application
If I have given names to different DataTable columns and those column names are stored in a variable, then passing that variable to the datatable how can i Enter different values in those columns listed in that variable?? Please explain me with an example.I am not getting it.
Explain me what is a framework and what are the frameworks available in rc?
What kind of tests would you automate?
IN AN APPLICATION HOW DO YOU IDENTIFY THE TASKS WHICH SHUD BE DONE MANUALLY AND WHICH SHUD BE AUTOMATED?
Differentiate between hdam and hidam database?
i have one answer from you that today the test cases are not stored in the database(SQL server 2005). But in automation testing where does the test case store? plz tell me... i have more confusion
Hi, here r some questions, which were asked in Ekaplus, plz process these questions. 1. How we connect with the version?
Hi, Below is the code that i ran on selenium RC using eclipse IDE and java coding.: package source; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import com.thoughtworks.selenium.*; public class parameterized extends SeleneseTestCase { private Selenium browser; public static void main(String []args) { String arr[] = new String[5]; arr[0]= "bert"; arr[1]= "regular"; arr[2]= "copyonly"; arr[3]= "doert"; arr[4]= "inter"; parameterized obj = new parameterized(); obj.setUp(); obj.login_parameterize(arr); } @BeforeSuite public void setUp() { browser = new DefaultSelenium("localhost",4444, "*chrome", "http://goolge.com"); browser.start(); browser.open("http://goolge.com"); browser.waitForPageToLoad("30000"); browser.windowMaximize(); browser.open("/"); browser.click("gb_23"); } @Test public void login_parameterize(String[] arr ) { for(int i=0;i<=5;i++) { for(int j=0;j<=2; j++) { browser.type("//input[@id='Email']", arr[i]); browser.type("//input[@id='Passwd']", arr[i]); browser.click("//input[@id='signIn']"); browser.waitForPageToLoad("30000"); } } } public void EnterValuesIntoTextField_CheckWithGetValue() throws Exception { selenium.open("http://www.essaywriter.co.uk"); assertEquals("", selenium.getValue("id=textInput")); selenium.type("id=textInput", "Text In The Field"); assertEquals("Text In The Field", selenium.getValue("id=textInput")); } } When i ran this test i got an error which says: "Method login_parameterize requires 1 parameters but 0 were supplied in the @Test annotation." Any help is much appreciated. thank Gab
is there any one got offer from snapdeal?
wat would be the parameteries for ul testing for web applilcation
Can anyone tell me the correct answer of below question....it is about Bugzilla tool. When bug will find out at the time of executio where it will save or what is the location of bug??
Can you explain data-driven testing?
Why do you want to keep this kind of information in a separate file and not directly in the code?