Hi,
I Am unable to take screen shot
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
OutputType cannot be resolved to a variable
The method copyFile(File, File, boolean) is undefined for the type FileUtils
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
Nhập mã vào đây...package com.bp.pablo.util;
Dear Lan,
Below code is showing very large, I want to simple method and to take screen shot easy. Can u please provide the simplest code?
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/E0A323AEEF92404F97E81B64A2D0236D025ADF11AADB%40souexmb01.TDGLOBAL.INTRA.
For more options, visit https://groups.google.com/d/optout.
TO KRISHNA,
NOT LIKE THAT I HAVE TRIED CODE WHICH IS PROVIDED EARLIER, BUT ITS NOT WORKING THEREBY I HAVE ASKED TO UNDERSTAND EASY METHOD.
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLnZun%3DSXuwA_6VUspGBEkRTY%2B%3DQjrb0WkNYf4Y75%2BX%2BxQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/E0A323AEEF92404F97E81B64A2D0236D025ADF11AAE0%40souexmb01.TDGLOBAL.INTRA.
Krinshna,
below is the error unable to solve myself. Getting confuse.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZL%3DEvSh4zm8XKZK4Tpf7OddAd9%3DB38wVVLBqJEHgjaGy_Q%40mail.gmail.com.
Dear Lan/shaik,
Many thanks. The code is working correctly.
To Krishna,
Now I have got clear and taken screen shot.
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Lan Ta Bao
Sent: Friday, May 09, 2014 1:12 PM
To: seleniu...@googlegroups.com
Cc: Karunanidhi
Ethiraj
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/979f6477-a9fd-4848-8c48-167562c7d145%40googlegroups.com.
Dear Afzal,
Many thanks Its working fine.
Please see the below screen shot, I am unable to click the button. Even I have use id, css, xpath and link values.
driver.findElement(By.cssSelector("a[href=\"javascript:AddNew(document.frmEmployee)\"]")).click();
driver.findElement(By.xpath(".//*[@id='divsmtoolbar']/table/tbody/tr/td[3]/span[1]/a/img")).click();
driver.findElement(By.cssSelector("add.png")).click();
driver.findElement(By.xpath("/html/body/form/div/table/tbody/tr/td[3]/span/a/img")).click();
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
From: Afzal
[mailto:shaik.afz...@gmail.com]
Sent: Friday, May 09, 2014 1:28 PM
To: seleniu...@googlegroups.com
Cc: Karunanidhi
Ethiraj
Hi Afzal,
Still error is existing.
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
Dea Lan,
I have tried the element finding in IDE its correctly fetching, but if we copy and paste the same source code into the web driver its not working.
driver.findElement(By.xpath("div[@id='divsmtoolbar']/table/tbody/tr/td[3]/span[1]/a/img")).click();
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://smdev1/" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/gmsuat/</td>
<td></td>
</tr>
<tr>
<td>selectWindow</td>
<td>name=fbMainContainer</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=fbInspectButton</td>
<td></td>
</tr>
<tr>
<td>selectWindow</td>
<td>name=iframecontentpanel</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@id='divsmtoolbar']/table/tbody/tr/td[3]/span[1]/a/img</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='divsmtoolbar']/table/tbody/tr/td[1]/span[1]/a/img</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAAVPej9Hc%3DG4va1gOcF5Xrncm3V7EYnDDs50wSQHLbep7NhhmQ%40mail.gmail.com.
Hi Vishi,
I have taken the screen shot, but the button click is still issue.
Thanks & Regards,
Maritime Leadership. All the way
Karunanidhi E
Teledata Marine
Solutions
M + 91 9994789611/
9443038011
E karuna...@teledatamarine.com
From: Vishi
[mailto:kvv...@gmail.com]
Sent: Friday, May 09, 2014 6:18 PM
To: seleniu...@googlegroups.com
Cc: Karunanidhi
Ethiraj