Soumyajit Hazra

Ranch Hand
+ Follow
since Jun 26, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
17
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Soumyajit Hazra

You can do it in various way. On option is to use the split function of awk command. Please go through the awk ref
7 years ago
Vishal it's a very good idea. Why don't you first search potential students then discuss with them and convince anyone to use one of there room where few group of student will gather. This way you can avoid the initial investment.
7 years ago
Thanks Jeff. I do searched it in google and found that in Template Design Pattern,Factory Pattern we are using abstract classes. Please correct me if I am wrong. I mainly want to get the differences between interface and abstract class from design pattern point of view. I understand its a very general question but I'll be great full if anyone pick any one pattern and give me some explanation w.r.t that pattern only.
7 years ago
Hi Ranchers,

Could anyone give me some link or help me out to understand the exact usage of abstract classes in various design patterns. Or help me to understand the usage of interfaces and abstract classes (or rather there differences) from various design pattern point of view.

Any kind of help is highly appreciated.

Soumayajit
7 years ago
You can use Selenium HtmlUnitDriver also for the purpose. Take a look here
7 years ago
What's stopping you from running the code and checking the output by yourself?
7 years ago
Hi Ranchers,
I wrote a java code to connect to a site and after navigating to few pages try to upload a file.
But whenever I am trying to upload a file it gives the message "File upload failed. Please close the file and try again" in the driver.getPageSource() output . Is it like the website not allowing the file upload and sends this message back or its some selenium restriction on file upload.
Few important points- 1. The actual website only runs in IE
2. When I created my own dummy code in servlet/jsp for file upload and use the same selenium code then it worked
Please help


7 years ago
Is there a way to get a HttpClient object or a HtmlUnit object from WebDriver/HtmlUnitDriver in Selenium 2? Basically I am facing problem in uploading files to remote server by using selenium type()/sendKeys() methods.
So if I some how get a HttpClient object then try to directly use a MultiPartFormRequest.

Please help...
Hi Ranchers,

I am using HtmlUnit to navigate into a site. It involves few anchor clicks which are ajax call. But I am unable to get the updated page content. Getting the original page back with "Processing....." string. Used all possible solution like using NicelyResynchronizingAjaxController, wait,sleep. Still getting old page instead of the updated one. Please help.

Soumayajit
Hi Ranchers,

I am quite new to the htmlunit framework. Using it for navigating into a website to automate a job. This website is having the following property

1. This website is only operational in USA.
2. If we try to use it from any other location then we can login and get the second page with welcome message and few links. And if we click any of the link it will routed back to the login page again by telling that we don't have permission to do the click.

I am trying to use htmlunit to navigate into the website and when I am running the code from outside USA I am routed back to the login after I try to click anything in the second page ( i.e initial login is working)page as expected. Now I have given the same code to my USA teammates but there also it is not able to get pass the second page, i.e getting the same behavior as if it's running from non US . I am using,

for the initial configuration. Am I missing something? What are the things mainly I need to check.
Please help ... >
Use oracle.jdbc.driver.OracleDriver.class present in classes12.jar.
Today I am very happy because I have donated 1 unit (450 ml) of blood in a blood donation camp organized in my office.
8 years ago