Showing posts with label work. Show all posts
Showing posts with label work. Show all posts

Friday, August 22, 2008

Groogy Day

It is not my intention to bore people, who happened to encountered this channel, by writing dry excerpts of what have I done in the office for a day ... but I believe it keeps me sane.

AgentTrax smoke test scripts execution @ qaweb-jax always fail with unknown application server failure. To remedy this, I am switching it to 4:ooAM PT from 6:00.

Trax smoke test scripts execution @ scmjaxbld2 is fully automated, double clicking RDP icon will launch the smoke test for qac environment. This environment is reserved for SCM people.

Setting up Trax smoke test scripts execution @ qaweb-jax, this environment is reserved for QA.
  1. Merge Trax's Common library to main, execute AgentTrax's helpdesk script to verify.
  2. Removing static folder references in Trax's code.
Pack and send LoadRunner controller machine to JAX.

Side note: JAX office is closed due to Hurricane Fay.

Thursday, August 21, 2008

Gremlins In The System

HP machines for Dan and FJ arrive today, will add Windows XP to the secondary drive. While building the XP special installation image, I accidentally killed the FAT32 table of my flash drive, I pay this mistake dearly: staying up late restoring the files.

I have no idea why the Trax automation script fails fairly often today. Also, RDP process is sucking CPU resources dry when the Trax automation script is running. DLP (fcag.exe) is acting up too.

Side note: JAX office is closed due to Hurricane Fay.

Wednesday, August 20, 2008

Work

Did:
  1. Transferred AgentTrax smoke test scripts to qaweb-jax, set the tests to go off daily.
  2. AgentTrax: lender1 script is barfing at bus_nm for lal. Still examining the SQL.
  3. Trax application is down today - can't do anything.
  4. Didn't do anything on eDoc Portal

Monday, July 21, 2008

Second Shift, Second Job

Works for 3 hours trying to piece together a news/content website, thank god, I am tired. Mainly dealing with Joomla and WordPress.

Man, I really hate Joomla, it is POS.

Monday, July 14, 2008

Going Home Early

Someone took down the DB to the app that I am testing and conducted maintenance for 10 hours. I am going home.

Tuesday, March 18, 2008

Netsh Is Not Working

If you encountered a problem where netsh couldn't pull the interface name and show the UID instead:
>netsh interface show interface
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Dedicated {38E7FAC8-FC0C-46CE-BA06-59C5323F1CEF}
Enabled Dedicated {59F5094B-3EC3-4F9B-892A-DF5F773292D9}
Enabled Dedicated {92C5A1C0-8075-486C-B8A8-AAF8914F7E96}
Enabled Dedicated {A9BC217F-9B17-44C9-843D-7C1B8471EAC3}
Enabled Internal Internal
Enabled Loopback Loopback

This inability to get the name of the interface is a problem since netsh will not work properly. The command only will take interface name, not UID.

The solution is outlined here.
I am unable to get this to work when I try to specify the interface name. "Local Area Connection" is considered invalid, and gets me no where. When I dump the netsh info, it lists all my interfaces as some gibberish like "{ADB7473C-C67B-49DE-B0D9-A25E990A39F5}", but even using that, and otherwise following the examples, the interface is called invalid.
i have enabled remote registry service then it's working [...]
>net start remoteregistry
The Remote Registry service was stopped successfully.

>netsh interface show interface
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Dedicated Local Area Connection
Enabled Dedicated VMware Virtual Ethernet Adapter (basic host-only support for VMnet1)
Enabled Dedicated VMware Virtual Ethernet Adapter (Network Address Translation (NAT) for VMnet8)
Enabled Dedicated Local Area Connection 2
Enabled Internal Internal
Enabled Loopback Loopback

This only took 2.5 hours of my life. No biggie.

Monday, March 10, 2008

Return To The Land of Endless Headaches

Arrived at ONT around 8AM in the morning, waltzed into the office at 9:30AM.

Today, I managed to stabilized the sync method when AJAX call is invoked after a page is refreshed.

Wednesday, February 27, 2008

Back To Working on Java Again

Section.java from Freeman is killing me.

Windows Desktop Search 3.01 Is Draining The Juice

This morning, my D400 died on me after 45 minutes, it is highly unusual since it was not hooked to the BB unit (that little thing sucks - not leech - the juice).

Back in the office, I:
  1. started intelppm service - but it didn't help much.
  2. un-installed WDS 3.01 - which helped a lot.

Tuesday, February 26, 2008

Relaunching Process(es)

Time server on SMURF keeps dying for no reason and it prevents the NGS test from starting. Write a quick script that checks and launches the time server process if it is not found every 15 minutes.

WR License Server Backup

For an odd reason, Dan is sweating about the license server and he wants it to be backed up.

Apparently it is using Sentinel LM from Rainbow Technologies.

This is the plan:
  1. Backup the content of lsdecode.exe -s lservrc
  2. Backup lservrc file,
  3. Just to be sure: I'll image the partition and make the current drive configuration RAID 1 (mirrored).

Dashboard PP

There is no memory leak - the script run for 24 hr without any problem.
Fixing the 24 hr log roll.

Write instruction to Poore and Rapin.

Monday, February 25, 2008

Deploy Dashboard PP

Twist the code to log the performance time in 24 hr time period, and run the script to see if there is memory leak and other snafu(s).

The script doesn't shut down properly, fix it.

While the script is running, I am looking into running RFT scripts without RFT being installed.

Troubleshooting RFT With IBM Support

Woke up 3:00AM in the morning and in the office by 4:30.

It was a good session since IBM team managed to solve the problem.

Tuesday, February 19, 2008

Raising The White Flag

I gave up on fixing RFT on SGADSH-SPQINT04, let IBM slaves through this.

Tuesday, February 12, 2008

Super Sensitive RFT

Something is really wrong with RFT, it is easily broken. I spend the whole day figuring out what is wrong with SGADSH-SPQINT04 without knowing what's wrong.

I really need IBM's help now.

Wednesday, February 6, 2008

Handling Objects

Starts writing code to handle the objects properly:
  1. Browser: invoke(URL). Handles IE's security alerts window.
  2. Editbox: set(data). Set the value of data to input, textarea or password object.
  3. Button: press. Handles IE's security alerts window.
Enough to handle login.

Tuesday, February 5, 2008

Woke Up Late Today

Suffering from reading lots of material about dynamic class loading and interfaces, so instead of taking 682, I am taking 600 - looks like everyone is in the late mood today since the train arrived late at Tustin too.

[write what the boyos have done]

Gluing the KWDT class and the code that Freeman and Latisha have written ... and in the end I decided not to use dynamic class loading.

This is the basic of KWDT [link to the implementation of kwdt].

In nutshell, to handle pressing of button object.
String AUT = "app";
String objtype = "button";
...
Class c = Class.forName("com.fnis.application."+AUT+".object."+objtype);
button uiObj = (button) c.newInstance("login");
uiObj.press();
But, a problem arises since the code needs to handle the object based on the type of action:
String action = "validateenabled";
...
if (action.eq("press")) {
uiObj.press();
}
else if (action.eq("validateenabled")) {
uiObj.validateenabled();
}
else {
// action not handled yet
throw ...
}
It is apparent that the code needs to have a lot of "if .. else ..." statements to cover each action, and to minimize the branch statement, I settled for Reflection. It cuts the "if ... else ..." statements down to nothing.
import java.lang.reflect.*;

String AUT = "app";
String objtype = "button";
String action = "validateenabled";

Class c = Class.forName("lib.applications."+AUT+".object."+objtype.toLowerCase());
Constructor ct = c.getConstructor();

Object arglist[] = new Object[6];
arglist[0] = window;
arglist[1] = objName;
arglist[2] = data;
arglist[3] = expectedResult;
arglist[4] = timeout;

Object obj = ct.newInstance(arglist);
Method m =c.getDeclaredMethod(action);
Hopefully, using Reflection won't kill the performance of the test code.

Monday, February 4, 2008

MainScript

Writing MainScript, the script that will control it all (KWDT or vanilla flavoured).

Start with consolidating the properties of test into properties file, and branch the execution on KWDT or else (...).

Update the KWDT class to accept the test properties for further report.

Start dabbling in the object handling class - thinking about using class dynamic loading, based on the type of application under test.

Friday, February 1, 2008

Functional Tester Mess

Today, I start tackling the project of cleaning up the mess (RFT scripts). Apparently the spring arrives early this year.

This project has been going on and off for more than a year now. It began when the company bought unlimited RFT license for us to use, but the implementation was limited to little projects since we had legacy scripts (WinRunner) in production.

From the technical stand point, I would like to start porting the legacy scripts to RFT ASAP since: RFT is architecturally superior. Since it is basically Java using RFT classes, RFT offers extensibility by importing 3rd party classes/libraries. It is painful to import libraries in WinRunner, instead of writing dll, I opted to use Perl.

But there were several problems:
  1. RFT 6 wasn't very stable - yet.
  2. I didn't have time.
With the downturn of real estate business, it was prudent for us to terminate the WinRunner support, and we have been pretty lucky with the subsequent WinRunner releases since we are flying solo without ground support so far. To eliminate the possibility of us needing WinRunner support, it is time for to port the WinRunner script to RFT.

Started looking for what I have been missing and apparently what I have written one year ago is looking back at me. omg!