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 / harsha
ya friend you can identify webtable using unique property
called htmlid
| Is This Answer Correct ? | 1 Yes | 0 No |
best institute for tesing tools in hyderabad?
How does load testing work for websites?
What is use of writing Test cases
What u mean by infrgistics control (What is infrgistics Controls)?
What are the different types of locks in mainframe?
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
I am new to jmeter and i am working on .net application.I am recording the requests and pop up images data are not recording.can some one suggest an idea regarding this
How do you decide which tool you have to use?
Tell me how would you test your own element locator?
On what basis you can map the success of automation testing?
What are pros and cons of automating tests at ui layer?
Can you explain me what is object repository?