Thursday, 30 January 2020

Groupid and Artificate ID in Spring

Groupid and artificate ID are the name we give to project when we download it from spring.io site.

Friday, 24 January 2020

Redirecting a URL using IIS Server/ Give user message Site is moved to different location using IIS Server / HTTP Redirect

 HTTP Redirect using IIS Server:-

Install IIS Server 7 and above.

Turn on IIS Server feature from control panel.

Create a site testing and give path to a folder.

Open  host page in C:\Windows\System32\Drivers\etc\hosts

add following lines 
127.0.0.1       testing.com
127.0.0.1       www.testing.com




Add basic default page index.html  using iis server visit your site with testing.com.

Go to Turn on feature in Control panel and go IIS Server ->WWW-> and check http redirection.


Go to Http redirect inside your website testing.com


Select redirect all request to exact destination. Select permanent redirect and click apply.


Steps to clone Maximo Anywhere application


Wednesday, 22 January 2020

Remote_user is not recognised - CGI Variable remote_user is empty in coldfusion

Hi today we see remote_user is empty this issue comes in ColdFusion when we site was not able to recognize it .


Solution


GO to IIS manager in admin tools.

Open your site and go to authentication

Enable windows authentication and disable others.

This will make IIS server pass windows credentials and other server details to your session.

Wednesday, 15 January 2020

Tuesday, 7 January 2020

Maximo Automation script is running by user or by integration/Check user is interactive

To check whether automation script is running via interaction :-


isInteractive = mbo.getUserInfo().isInteractive();





if(!isInteractive )

        {

}

Wednesday, 1 January 2020

Setup Selenium for Eclipse

Steps

  • Download and install eclipse for java Developers
  • Create a Project Selenium testing
  • Download Selenium Jars from https://selenium.dev/downloads/ download for java 3.141....actually its jars 
  • Setup jars in your project lib folder.
  • Create a new class Selenium Testing
  • Extract the driver.
We need to download browser specific driver and call that from our class.

I am using chrome so I am downloading webchromedriver.